- Authentication Local + JWT
- User can Create a Post
- User can Delete and Update
- User can follow an other one
- User get notification of Following new post
- User can Like a Post
- User can see all the post they like
- Node
- Es6 + ES7
- Babel
- Webpack
- MongoDb
- Express
- eslint
- Mongo Compass
- Postman
- mongose
- body-parser
- morgan
- compression
- helmet
- Passport JWT
- jsonWebToken
- POST /api/v1/users/signup
Login With User JWT token
Create Post req with token
- POST /api/v1/posts
body: { :title, :text }
List All Posts req with token
Get Post by Id req with token
- GET /api/v1/posts/:id
res: { :post, :user_id, :favorite}
Get Posts With Pagination req with token
- GET api/v1/posts?limit=5&skip=0
res: { :posts, 5 first}
Update Post req with token
- GET /api/v1/posts/:id
body: { :title, :text }
Delete Post req with token
Favorite Post req with token
- DELETE /api/v1/posts/:id/favorite
res: { :posts with true or false}