https://github.com/jod35/noted-fastapi
This is a REST API for a note taking service
https://github.com/jod35/noted-fastapi
fastapi fastapisqlalchemy sqlalchemy
Last synced: 11 months ago
JSON representation
This is a REST API for a note taking service
- Host: GitHub
- URL: https://github.com/jod35/noted-fastapi
- Owner: jod35
- Created: 2023-07-16T13:29:39.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-21T09:50:33.000Z (almost 3 years ago)
- Last Synced: 2025-03-25T18:21:42.957Z (about 1 year ago)
- Topics: fastapi, fastapisqlalchemy, sqlalchemy
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 27
- Watchers: 1
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Noted-FastAPI
This is a REST API for a note-taking service. This was built to demonstrate how to use FastAPI with Async SQLAlchemy and PostgreSQL
[Video here](https://youtu.be/nC9ob8xM3AM)
## How to run the code
- Create a ```DATABASE_URL``` variable in a ```.env``` file. This must be a Postgresql database URI.
- Install all project requirements from the ```requirements.txt``` file using ```pip install -r requirements.txt```
- Create the database by running ``` python create_db ```
- Finally run your server with ```uvicorn main:app```
Please star this repo