Skip to content

tekavec/Tuite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tuite

Tuite application

Tuite is a simple console-based social networking application (similar to Twitter) satisfying the scenarios below. It is writen in .NET C# language.

Scenarios

Posting

Alice can publish messages to a personal timeline:

> Alice -> I love the weather today
> Bob -> Damn! We lost!
> Bob -> Good game though.

Reading

Bob can view Alice’s timeline:

> Alice
I love the weather today (5 minutes ago)
> Bob
Good game though. (1 minute ago)
Damn! We lost! (2 minutes ago)

Following

Charlie can subscribe to Alice’s and Bob’s timelines, and view an aggregated list of all subscriptions:

> Charlie -> I’m in New York today! Anyone want to have a coffee?
> Charlie follows Alice
> Charlie wall
Charlie - I’m in New York today! Anyone want to have a coffee? (2 seconds ago)
Alice - I love the weather today (5 minutes ago)
> Charlie follows Bob
> Charlie wall
Charlie - I’m in New York today! Anyone wants to have a coffee? (15 seconds ago)
Bob - Good game though. (1 minute ago)
Bob - Damn! We lost! (2 minutes ago)
Alice - I love the weather today (5 minutes ago)

Usage

Users submit commands to the console application. All users use the same console. Users submits their messages and read messges from other users with the command syntax described below.

There are four commands. "posting", "reading", etc. are not part of the commands; commands always start with the user’s name.

  • posting: [user name] -> [message]
  • reading: [user name]
  • following: [user name] follows [another user]
  • wall: [user name] wall

There is no special user registration command - non existing users are created when they post their firs message.

Installation

Requirements

  • .NET Framework 4.5
  • Visual Studio 2013
  • NuGet 2.8

Tuite uses three NuGet packages:

  • NUnit
  • Moq
  • Humanize

Setup

  • Open the "Tuite.sln" file with the Visual Studio 2013
  • Set the "Tuite" project as a startup project
  • Build the solution and hit the F5/Start command button
Building the solution should install all necessary NuGet packages.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages