chazdky / fastapi-react-1

FastAPI + React + Docker + Nginx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FastAPI + React + Docker + Nginx

Getting Started

  1. Clone the repo and cd the directory.
  2. Set up the virtual env for python backend - virtualenv virtual
  3. Activate virtualenv . virtual/bin/activate and install dependencies - pip install -r app/requirements.txt. Once installed, you can deactivate virtualenv.
  4. Install ui dependencies - yarn --cwd ./ui . --cwd ./ui allows to specify directory where package.json is located.
  5. You are all set up. Now run ./develop.sh and you have live development environment. Make changes to app or ui code and it will hot-reload.

About

FastAPI + React + Docker + Nginx


Languages

Language:JavaScript 57.3%Language:HTML 14.2%Language:Dockerfile 12.2%Language:Python 8.0%Language:CSS 7.7%Language:Shell 0.6%