The API was developed in Node.js from scratch as a way of learning. Routes, controllers and models were created and the application was connected to a MongoDB database in the cloud.
The Express and Mongoose libraries were used, which are widely consolidated in Web development with Node.
There is the complete CRUD of two resources ("livros" and "autores"), personalized queries by field, as well as the association of data from a resource in the route that searches for the other resource.
- Clone the repository
git clone https://github.com/cassialuisa/node_project.git
- On the project directory run:
npm install
- Then run:
npm run dev