Final stage project
This project is one of my first backend projects and will serve as a basis for possible new APIs that I will create, that's why there are so many comments in the project's code.
This API is part of a parallel project that I made the frontend and the integration will be done along with this API, follow the link of the front-end project
- Need to clone the repository on your machine
- after the clone opens the project folder, open the terminal and run the command
- to run the project use nodemon
git clone https://github.com/Guilbertoliveira/BookServerAPI.git
npm install
npx nodemon .\app.js
![](https://private-user-images.githubusercontent.com/41201436/248797854-22b5fab9-e344-4e55-b26b-1693c622ccf5.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNDU2MTUsIm5iZiI6MTcyNjE0NTMxNSwicGF0aCI6Ii80MTIwMTQzNi8yNDg3OTc4NTQtMjJiNWZhYjktZTM0NC00ZTU1LWIyNmItMTY5M2M2MjJjY2Y1LmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEyVDEyNDgzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTViMjM0Y2YxNjZlNGZjNzc2MTE0YWRmMjNmZTQ4ZjMzZDdmZjNiNzY3YjQ2NjI5ZGYxZjQwMzMwNzFiMWY2Y2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ErordCs33hOHAZjxKHGw9YINa24LjV6X8oRQpskOcU0)
![](https://private-user-images.githubusercontent.com/41201436/248797921-915ad5c1-0115-492e-a983-cbd8fbb749f8.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNDU2MTUsIm5iZiI6MTcyNjE0NTMxNSwicGF0aCI6Ii80MTIwMTQzNi8yNDg3OTc5MjEtOTE1YWQ1YzEtMDExNS00OTJlLWE5ODMtY2JkOGZiYjc0OWY4LmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEyVDEyNDgzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkyYzVlOWEyODZkYjFiZGExNjA0ZDFiZDkwOGYyZjMxNTIyZWIyNTE3NGRhZmY3ZGRlMDNlMzg2Yjc0ZmRiZmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.nzRMZt5zdfY9aqRtaCj2eimhllKPtPIguLVBAlGDy18)
![](https://private-user-images.githubusercontent.com/41201436/248797991-46c4b417-2024-4be2-844c-40444b98ede4.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNDU2MTUsIm5iZiI6MTcyNjE0NTMxNSwicGF0aCI6Ii80MTIwMTQzNi8yNDg3OTc5OTEtNDZjNGI0MTctMjAyNC00YmUyLTg0NGMtNDA0NDRiOThlZGU0LmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09E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