Population Management API manages the list of locations and the total number of residents in each location broken down by gender.
Click here to view the detailed API documentation
API is hosted on heroku via this link
- NodeJS - A Javascript runtime built on chrome V8 engine that uses an event-driven non-blocking I/O model that makes it lightweight and efficient.
- ExpressJs - A minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
- Mongoose - An ODM for Node.js that provides a straight-forward, schema-based solution to model your application data. It includes built-in type casting, validation, query building, business logic hooks and more, out of the box.
- MongoDb - A powerful, open source object-relational database system.
- Install
node
, version 9 or greater - Install
mongodb
- Clone the repository
git clone https://github.com/Felglitzzz/Population-Management-API.git
- Navigate to the project directory
cd ~/path/to/Population-Management-API
- Install all dependencies
npm i
- Configure Mongo
- Start the app
npm run start-dev
- Navigate to the API home
http://localhost:3000/api/v1/home
- Uses
Mocha
,Chai
andSupertest
- Have a test database
- run
npm test