Skip to content

batrey/REST-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a partially implemented REST API that resembles services built.

Python 3.6 with the "new" asynchronous features of Python, and utilizes the Tornado.

Getting Started

With Python Docker

$ docker-compose up -d db
$ docker-compose up app

The application will now be running on http://localhost:3000. eg:

➜  ~ curl localhost:3000/ping
{
    "ping": "pong"
}

To run tests, execute:

$ docker-compose run app coverage run tests.py
$ docker-compose run app python tests.py
# to see the code coverage with missing lines
$ docker-compose run app coverage report -m

Objectives

  • Get all implemented tests to pass
  • Implement stubbed out tests
  • Write new tests to reach 100% code coverage

Guidelines

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published