Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 650 Bytes

README.md

File metadata and controls

39 lines (29 loc) · 650 Bytes

api-test

Prerequisites

  • Python 3.x
  • MongoDB 3.x
  • A Unix-based system if you'd like to use the Makefile commands

Getting started

Quickstart:

make  # runs setup, runs the tests, and starts the server

To setup the virtualenv and install requirements:

make setup

To populate the db and create indices:

make init-mongo

To start the server:

make run-server

To run tests:

make test  # runs tests
make coverage  # runs tests with coverage report

Using the API

Refer to the docstrings in server.py for more info on using each endpoint.