l0rinc / socialgraph

Simple, twitter-like, console-based social networking application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Coverage Status

Simple, twitter-like, console-based social networking experiment

Building the project

You can create a new executable via the gradlew clean build jacocoTestReport command (or via the provided Idea run config).

This will compile the code, run all the tests, and deploy the executables in the build/distributions/SocialGraph-1.0.0.zip file, containing all the dependencies — with Windows/Linux launchers in the bin folder.

You can view the test results in build/reports/tests/index.html with the coverage statistics in build/reports/jacoco/test/html/index.html (or in the above Coveralls link).

Using the application

The following features are available:

  • Posting — Users can publish messages to their timelines: <user name> -> <message>

      > Alice -> I love the weather today
      > Bob -> Damn! We lost!
      > Bob -> Good game though.
    
  • Reading — Users' timelines can be viewed: <user name>

      > Alice
      Alice: I love the weather today (5 minutes ago)
      > Bob
      Bob: Good game though. (1 minute ago)
      Bob: Damn! We lost! (2 minutes ago)
    
  • Following — Users can subscribe to others' posts: <user name> follows <another user>

      > Charlie follows Alice
    
  • Aggregate Reading — Users can display others' posts, merged with their followees': <user name> wall

      > Charlie -> I'm in New York today! Anyone wants to have a coffee? 
      > 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)
    

About

Simple, twitter-like, console-based social networking application


Languages

Language:Groovy 52.8%Language:Java 47.2%