Teamwork is an internal social network for organizations’ employees.
Goal of Application this application is to facilitate more interaction between colleagues and facilitate team bonding.
- Employees can create their own user account.
- Employees can sign in.
- Employees can write and/or share articles with colleagues on topics of interest to them.
- Employees can edit their articles.
- Employees can delete their articles.
- Employees can comment on other colleagues' article post.
- Employees can view all articles showing the most recently posted articles first.
- Employees can view a specific article.
- Employees can view all articles that belong to a category (tag).
- Employees can flag a comment, or article as inappropriate.
- Admin can delete a comment, or article flagged as inappropriate.
-
Express JS - API development framework
-
Node - run time environment for JavaScript
-
Mocha and Chai - for testing
-
Eslint - code analysis tool for identifying problematic patterns found in JavaScript code
-
Babel JS - JavaScript compiler (ES6 to ES5)
Node a runtime environment for JavaScript
Postman to test the Api endpoints
Visual studio code for editing and running the app
- git clone https://github.com/Niyonsengaeric/Teamwork.git
- cd /Teamwork
- npm install (to install required dependencies)
- npm run dev (to start the development server)
- npm test
- npm start
- POST /auth/signup - Create user account
- POST /auth/signin - Login a user
- POST /articles - Create an article
- PATCH /articles/<articleId> - Edit an article
- DELETE /articles/<articleId> - Employees can delete their articles
- POST /articles/<articleId>/comments - Employees can comment on other colleagues' article post.
- GET /feeds - Employees can view all articles, showing the most recently posted articles first.
- GET /articles/<articleId> - Employees can view a specific article.
- GET /articles?tag=<:desired-category> - Employees can view all articles that belong to a category (tag).
- POST /articles/<articleId>/flag - Employees can flag an article as inappropriate.
- POST /comments/<commentId>/flag - Employees can flag a comment as inappropriate.
- GET /flags - Admin can view all flags
- DELETE /articles/<articleId> - Admin can delete an article flagged as inappropriate.
- DELETE /comments/<commentId> - Admin can delete a comment flagged as inappropriate.
https://niyonsengaeric.github.io/Teamwork/UI/index.html
https://www.pivotaltracker.com/n/projects/2396812
https://documenter.getpostman.com/view/8164226/SVmySxmV
https://documenter.getpostman.com/view/8164226/SVtSWpU6
OPEN https://niyonsengaeric.github.io/Teamwork/UI/index.html Link and start navigate with different pages.