Devcamper API
DevCamper-Api is a bootcamp directory API created with Node, Express, and MongoDB. This application is equipped with authentication, roles, permissions, password reset tokens, email functionality, and geocoding.
Other functionalities include pagination, filter, selecting, and sorting.
DevCamper-Api is a CRUD REST API that was built with Node, Express, and MongoDB and is deployed through Heroku. In this app, you can create, read,
update, and delete a boot camp, a course, and other users. Different libraries were built into this app so that some of its features could work.
On some routes, packages like bcryptjs and jsonwebtoken were used to authenticate users that wanted access. Node geocoder was used to provide the
longitude and latitude of each location of the boot camps. Finally, security packages such as express-mongo-sanitize, xss-clean, cors, hpp, a
nd helmet were used. Node geocoder was used to figure out the longitude and latitude of each boot camp location. The last thing that was done was to
use security packages like express-mongo-sanitize, xss-clean, cors, hpp, and helmet. I chose the MVC architecture for this project, minus view, as it
helps reinforce the separation of concerns principle. Putting the models, methods, middleware, and routes in their own space makes it easy to maintain
and allows the system to grow.
To use this app, copy the URL https://antoine-devcamper-api.herokuapp.com/api/v1/bootcamps and paste it into your browser. To use the "create,
update, delete" feature, you will need Postman or something similar.
You can find the GitHub repo here: Devcamper API.
Technologies:
- - Node js
- - MongoDB
- - Express
- - Heroku
- - Mongo Atlas
- - Devcamper-API