A CRUD API app built on node, express, and mongodb.
The Express JS framework handles the API CRUD, mongodb handles the DB storage while Moongoose is used as an Object Document Mapper (similar to an ORM in python).
- NodeJS
- Mongo DB
- express framework
- Moongoose
The API enables a user to store a list of locations and the total number of residents in each location broken down by gender. Locations can be nested within each other.
SMS management API is hosted on heroku and you can access the documentation here. Through the docs you can test out the endpoints and the functionnality of the API.
- clone the application from
git@github.com:mwaz/pop-mgt-api.git
- Install dependencies using
npm ci
ornpm install
- Start the application
npm start
- clone the application from
git@github.com:mwaz/pop-mgt-api.git
- Install dependencies using
npm ci
ornpm install
- run the tests using
npm test
Technologies used in the application are Express, Node and MongoDB. In the next iteration, ReactJS will be used as the frontend with Google Cloud Platfrom working as the engine that will power the application.
The app is currently documented using swagger 2.0 and the Open API Specification as shown below .