WIP application that is supposed to be a subscription app in the future. There's no core business logic yet, but I implemeted login / logout and authentication middleware already
- create .env first. refer to .env.example file as an example
- then run following commands
docker compose up --build -d # this will create a new database
docker compose logs -f
docker compose down
- generate new table
sea-orm-cli migrate generate create_user_table
- migrate
sea-orm-cli migrate up -u postgres://postgres@localhost:5432/subscription_db
generate entity
sea-orm-cli generate entity -u postgres://postgres@localhost:5432/subscription_db -o entity/src