This project be a part of bootcamp: GoStack by RocketSeat
This challenge was to practice knowledge of the fundamentals of NodeJS.
An application was developed to store repositories in a portfolio, which it allowed creating, listing, updating and removing the repositories, and also allowing the repositories to receive "likes".
In this project, the routes were implemented using HTTP methods.
POST /repositories
=> Create a new repositorie.GET /repositories
=> List all repositories.PUT /repositories/:id
=> Updates some parameters of the repository with the same ID received by request params.DELETE /repositories/:id
=> Delete the repositorie with the same ID received by request params.POST /repositories/:id/like
=> Increase one more "like" in the repository with the same ID received by request params, whenever this route is called.
- NodeJS;
- Express;
- Nodemon;
- Yarn;
- Jest;
To run on the first time,
into your folder:
$ git clone https://github.com/Fred-Reis/challenge_backEnd-01_GoStack-v2
Into repo folder, to intall Node_Modules
run:
yarn
To link with IOS:
pod install
And to start the server:
yarn dev
Recommend using Insomnia to test routes
๐ Now run the project in your device or favorite emulator and... BE HAPPY.