Teamwork is an internal social network for organizations’ employees. The goal of this application is to facilitate more interaction between colleagues and facilitate team bonding
-
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
In your command line run the following codes:
- git clone https://github.com/Chriss50/Teamwork.git
- npm install (to install required dependencies)
- npm test
- npm start
The following endpoints have been implemented:
HTTP METHOD | ENDPOINT | DESCRIPTION |
---|---|---|
POST | /api/v1/auth/signup |
Employees can create their own user account |
POST | /api/v1/auth/signin |
Employees can sign in |
POST | api/v1/articles |
Employees can write and/or share articles |
PATCH | api/v1/articles/{id} |
Employees can edit their articles |
DELETE | api/v1/articles/{id} |
Employees can delete their articles |
POST | api/v1/articles/{id}/comments |
Employees can comment on other colleagues' article post |
GET | api/v1/feeds |
Employees can view all articles, showing the most recently posted articles first |
GET | api/v1/articles/{id} |
Employees can view a specific article |
You can use Postman to test the endpoints.
https://chriss50.github.io/Teamwork/UI/html/
https://www.pivotaltracker.com/n/projects/2397837
Ishimwe Christian