This application performs the CRUD (Create, Read, Update, Delete) of project repositories.
In addition, it is possible to like a registered repositories, increasing the number of likes by 1 each time the route is called.
This project was done using Javascript, Node and Express
With this application the client can access the following routes
- GET
/repositories
β list all repositories. - POST
/repositories
β create a repository. - PUT
/repositories/:id
β update a repository. - POST
/repositories/:id/like
β add a like to a repository. - DELETE
/repositories/:id
β delete a repository by id.
Some project library dependencies includes but are not limited to:
- "cors": "^2.8.5",
- "express": "^4.17.1"
- "uuid": "^8.3.2"
- "jest": "^26.6.3",
- "nodemon": "^2.0.7",
- JavaScript - Programming Language
- Express - Server Framework
- NodeJs - Server Environment
- Insomnia - Rest Client
You can clone the repository through Command Prompt or Terminal just by typing:
git clone https://github.com/devfel/list-projects.git
or download the zip from the green "Code" button.
Install dependencies packages with yarn
yarn
With the dependencies installed run yarn dev to bring up the server. To execute the tests run yarn test.
- Created based on a RocketSeat challenge.
- Full description in Brazilian Portuguese: Trilha Node.js - Desafio 03
- Distributed under the MIT License - see the LICENSE.md file for details.
- @devfel - Luiz FlΓ‘vio Felizardo