Skip to content

luovkle/FastAPI-Note-Taking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Note Taking

Requirements

  • python3.9
  • pipenv
  • postgresql
  • docker (optional)

Notes:

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

Usage

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