Skip to content

Commit

Permalink
Readme
Browse files Browse the repository at this point in the history
Rajeev Kumar Singh committed Sep 26, 2017
1 parent 5b16507 commit 21fcd8e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -34,6 +34,19 @@ mvn spring-boot:run

The server will start at <http://localhost:8080>.

## Exploring the Rest APIs

The application defines following REST APIs

```
1. GET /tweets - Get All Tweets
2. POST /tweets - Create a new Tweet
3. GET /tweets/{id} - Retrieve a Tweet by Id
3. PUT /tweets/{id} - Update a Tweet
4. DELETE /tweets/{id} - Delete a Tweet
4. GET /stream/tweets - Stream tweets to a browser as Server-Sent Events
```

## Running integration tests

The project also contains integration tests for all the Rest APIs. For running the integration tests, go to the root directory of the project and type `mvn test` in your terminal.

0 comments on commit 21fcd8e

Please sign in to comment.