chrismgonzalez / heart-disease-predictor

A full stack application built with React for the frontend and Flask for the API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set up a React app with a Flask and MongoDB backend using Docker

This repository contains example code showing how to to set up and containerize a full stack web application with a React frontend, a Flask RESTful API and a MongoDB database using Docker. It includes one docker-compose file to set up a development environment and a docker-compose-prod file to set up a production environment.

Further instructions on how to run the example code can be found in this Medium article: https://medium.com/@lotrproject/how-to-set-up-a-react-app-with-a-flask-and-mongodb-backend-using-docker-19b356180199

Build for development

docker-compose up -d

Build for production

docker-compose -f docker-compose-prod.yml up --build

About

A full stack application built with React for the frontend and Flask for the API

License:MIT License


Languages

Language:HTML 43.7%Language:JavaScript 40.8%Language:Python 11.2%Language:CSS 2.2%Language:Dockerfile 2.1%