https://github.com/andre2l2/fastapi-example
https://github.com/andre2l2/fastapi-example
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/andre2l2/fastapi-example
- Owner: andre2l2
- Created: 2024-05-09T01:49:16.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-09T01:49:30.000Z (about 2 years ago)
- Last Synced: 2025-02-24T05:29:32.467Z (over 1 year ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fastapi example
## Run project
Create venv
```bash
python3 -m venv .venv
```
Active venv
```bash
. .venv/bin/activate
```
Install requirements
```bash
pip install -r requirements.txt
```
Run fastapi
```bash
fastapi run ./src/main.py
```
## Save requirements
For save of create requirements file
```bash
pip freeze > requirements.txt
```