fastapi-react
fastapi-react copied to clipboard
Single Page App with FastAPI and React
Developing a Single Page App with FastAPI and React
Want to learn how to build this?
Check out the post.
Want to use this project?
-
Fork/Clone
-
Run the server-side FastAPI app in one terminal window:
$ cd backend $ python3.9 -m venv env $ source env/bin/activate (env)$ pip install -r requirements.txt (env)$ python main.pyNavigate to http://localhost:8000
-
Run the client-side React app in a different terminal window:
$ cd frontend $ npm install $ npm run startNavigate to http://localhost:3000