Skip to content

ludralph/population-management

Repository files navigation

population-management

Introduction

This is a Population Management System that contains a list of locations and the total number of residents in each location broken down by gender.

An API that enables you to:

  • Create a new location containing data on the total number of male and female residents within it.
  • Please note that locations can be nested within other locations *
  • List all available locations and their population summaries (total male residents, total female residents, sum total residents)
  • Update data for a specific locations
  • Delete a specified location

Available Endpoints

The documentation for the Population Management API can be found here Population API

Dependencies

To install the Population Management API, you will need the following:

  • Node
  • PostgreSQL
  • Other dependencies required are listed in the package.json file. Use yarn install on the command line
  • Environment variables are defined in a .env file. You can find a .sample.env file in the repository root to guide you on setting up your .env file.

Installation

The steps outline will provide a walkthrough on how to install the app on your local machine

  • Clone this repository
  • From the terminal, change directory to the population-management folder
  • Ensure that you are on the develop branch. If on any other branch, run git checkout develop on the terminal.
  • Run yarn install from your terminal in your project directory to install all dependencies
  • Then run the app with the command yarn start

Usage

To test out the endpoints, follow the following steps

Limitations

  • No form of authentication is implemented

The DEV Team

  • Raphael Etim

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published