Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danporter/fastapi-react-app
https://github.com/danporter/fastapi-react-app
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/danporter/fastapi-react-app
- Owner: DanPorter
- Created: 2024-10-15T12:49:27.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-10-21T20:42:15.000Z (24 days ago)
- Last Synced: 2024-10-22T04:32:17.287Z (24 days ago)
- Language: TypeScript
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fastapi-react-app
My first attempt at a working web-app using fastapi, Vite + React + TypeScript + materials ui### Installation
```
$ conda create -n myreactenv nodejs python pnpm fastapi
$ conda activate myreactenv
$ git clone https://github.com/DanPorter/fastapi-react-app.git
$ cd fastapi-react-app/frontend
$ pnpm install
$ pnpm build
$ cd fastapi-react-app/backend
$ fastapi dev main.py
```### Run
```
$ conda activate myreactenv
$ cd fastapi-react-app/backend
$ fastapi dev main.py
```