Skip to content

katerine-dev/reminders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reminders

Full stack application to manage reminders

Venv

Enabling virtual environment:

poetry shell

Installing a single depdency:

# The line below adds the `requests` library
poetry add requests

Installing project dependencies:

poetry install

Command line for postgresql service via docker:

docker run -d \
    --rm \
    --name reminders_db \
    --network reminders-network \
    -e POSTGRES_PASSWORD=reminders \
    -e POSTGRES_USER=reminders \
    -e POSTGRES_DB=reminders \
    -e PGDATA=/var/lib/postgresql/data/pgdata \
    -v pgdata:/var/lib/postgresql/data \
    -p 5432:5432 \
    postgres
docker build -t "reminders" .
docker run -p 8000:8000 --env-file .env --network reminders-network reminders

Migrations

before executing any migration command, make sure you run:

source .env

Migration list:

yoyo list

For Apply Migrations:

yoyo apply

Fast API

For run the server:

Step 1:

source .env

Step 2:

uvicorn reminders.main:app --host 0.0.0.0 --port 8000

For run execute script with npm (spa):

npm run dev

About

Full stack application to manage reminders

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published