Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 730 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 730 Bytes

Population Management API

Project setup

From the root of the project, run:

npm install

Compile and hot-reload for development

npm run dev

Run tests

npm t

Endpoints

Request type Endpoint Action
POST /api/v1/locations adds a location to the database
GET /api/v1/locations/:id Gets a location and it's subtree as well as their location summary from the databse
PUT /api/v1/locations/:id Modifies a location in the database
DELETE /api/v1/locations/:id Deletes a location and it's subtree from the databse