Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 695 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 695 Bytes

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?

  1. Fork/Clone

  2. 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.py

    Navigate to http://localhost:8000

  3. Run the client-side React app in a different terminal window:

    $ cd frontend
    $ npm install
    $ npm run start

    Navigate to http://localhost:3000