Skip to content

This is a full stack web application built using "FastApi" for the backend and "Reactjs" for the backend and React for the frontend. This web application uses "docker" containers two establish a connecting between the backend and frontend.

Notifications You must be signed in to change notification settings

MCdev92/fullStack-dockerReact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

31 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Personal Recipe Page πŸ‘¨πŸ»β€πŸ³

The personal recipe page is a full-stack web application built on Python. This application uses reactjs for the frontend and fastApi for the backend. The application is intended to use Docker to have communication between the backend and frontend container using HTTP through the docker network. It is important to know that Docker enables application portability!

Installation πŸ—οΈ

Prerequisites

Setup

  1. Clone the repo bash
    git clone https://github.com/MCdev92/fullStack-dockerReact.git
  2. Install project dependencies: pip install fastapi uvicorn sqlalchemy npm install axios pip install -r requirements.txt
  3. Run the app docker run --name backend --rm --network recipes -p 8000:8000 backend docker run --rm --name frontend --network recipes -p 3000:3000 frontend
  4. Enable cors in the backend: from fastapi.middleware.cors import CORSMiddleware
  5. Head over to the web broswer and take a look at the delicious recipes! [localhost:3000] (http://localhost:3000/)

Walkthrough/Demo

walkthrough

About

This is a full stack web application built using "FastApi" for the backend and "Reactjs" for the backend and React for the frontend. This web application uses "docker" containers two establish a connecting between the backend and frontend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published