Skip to content

Test driven flask template that encourages the use of microservices

Notifications You must be signed in to change notification settings

amangona/testdriven

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Driven Server

Build Status

Prerequisites

  • Python 3.7
  • Docker (latest)

Quick Start

Clone repo, then run:

docker-compose -f docker-compose.yml up -d --build 
docker-compose -f docker-compose.yml exec users python manage.py recreate_db
docker-compose -f docker-compose.yml exec users python manage.py seed_db 

Tests

Users

docker-compose -f docker-compose.yml exec users python manage.py test

Client

docker-compose -f docker-compose.yml exec client npm test

Switching Environment

eval $(docker-machine env [DOCKER_MACHINE_NAME])

To Do

Add Black execute flake8 in travis and make sure to pass

About

Test driven flask template that encourages the use of microservices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published