Youngestdev / fastapi-react

Single Page App with FastAPI and React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Single Page App with FastAPI and React

License:MIT License


Languages

Language:JavaScript 58.0%Language:HTML 21.5%Language:Python 20.6%