Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A test API written with Flask interfacing with MongoDB.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages