TestDriven App
Microservices with Docker, Flask, and React
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
About The Project
This repository mirrors my progress for the course Microservices with Docker, Flask and React.
Built With
Getting Started
To get a local copy up and running follow these steps.
Prerequisites
This project uses Docker and docker-compose.
Please make sure to install both on your system. See Docker Documentation for details.
Installation
- Clone the repo:
git clone https://github.com/sophiabrandt/testdriven-app.git
- Build the containers:
docker-compose build
- Create and seed the database:
docker-compose exec users python manage.py recreate_db
docker-compose exec users python manage.py seed_db
- Run tests:
docker-compose exec users python manage.py test
Usage
The React app is available at http://localhost
.
The users endpoint is available at http://localhost/users
.
If you get a compilation error in your React app (Module not found: Can't resolve 'react-router-dom'
), install the package manually:
docker-compose exec client npm install react-router-dom
Roadmap
See the open issues for a list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Please note that this is a learning repo and not a real app.
License
Code is © 2019 Michael Herman. Minor adjustments by Sophia Brandt.
Contact
Sophia Brandt - @hisophiabrandt
Project Link: https://github.com/sophiabrandt/testdriven-app