Build 0.5 Alpha Release Teamwork is an internal social network for employees of an organization. The goal of this application is to facilitate more interaction between colleagues and promote team bonding.
URI ENDPOINT | DESCRIPTION | AUTHORIZATION |
---|---|---|
POST /api/v1/auth/create | Creates a User | YES |
POST /api/v1/auth/signin | User signin | NO |
PATCH /api/v1/auth/user/<:userId> | Edits a given User information | YES |
PATCH /api/v1/auth/user/<:userId>/feed | Gets a feed of all articles and gifs posted by a given User | YES |
GET /api/v1/feed | Gets articles or gifs sorted by most recent | NO |
GET /api/v1/articles/<:articleId> | Gets a given article | NO |
POST /api/v1/articles | Posts an article | YES |
PATCH /api/v1/articles/<:articleId> | Edit a given article | YES |
DELETE /api/v1/articles/<:articleId> | Delete a given article | YES |
PATCH /api/v1/articles/<:articleId> | Flag a given article | YES |
GET /api/v1/articles/<:articles>/comments | Gets all comments of a given article | YES |
GET /api/v1/articles/<:articles>/comments<:commentId | Gets a given comments on a given article | YES |
POST /api/v1/articles/<:articles>/comments | Posts a comment on a given article | YES |
DELETE /api/v1/articles/<:articles>/comments<:commentId> | Deletes a given comment on a given article | YES |
PATCH /api/v1/articles/<:articles>/comments<:commentId>/flag | Flags a given comment on a given article | YES |
GET /api/v1/gifs/<:articleId> | Gets a given gif | NO |
POST /api/v1/gifs | Posts an article | YES |
PATCH /api/v1/gifs/<:articleId> | Edit a given gif | YES |
DELETE /api/v1/gifs/<:articleId> | Delete a given gif | YES |
PATCH /api/v1/gifs/<:articleId> | Flag a given gif | YES |
GET /api/v1/gifs/<:articles>/comments | Gets all comments of a given gif | YES |
GET /api/v1/gifs/<:articles>/comments<:commentId | Gets a given comments on a given gif | YES |
POST /api/v1/gifs/<:articles>/comments | Posts a comment on a given gif | YES |
DELETE /api/v1/gifs/<:articles>/comments<:commentId> | Deletes a given comment on a given gif | YES |
PATCH /api/v1/gifs/<:articles>/comments<:commentId>/flag | Flags a given comment on a given gif | YES |
Git Clone this repo npm install npm test npm start