- python3.9
- pipenv
- postgresql
- docker (optional)
FastAPI Note Taking requires a connection to a postgres database with the following data postgresql://user:[email protected]/app
Running a postgres container with docker
docker run --name postgres --rm -d -p 5432:5432 -e POSTGRES_USER=user -e POSTGRES_PASSWORD=password -e POSTGRES_DB=app postgres:13.3-alpine
git clone https://github.com/luovkle/FastAPI-Note-Taking
cd FastAPI-Note-Taking/backend/app
pipenv install
pipenv shell
alembic upgrade head
uvicorn --reload app.main:app