Promise API Server
How do I access https on localhost?
This project is using Bun.js as a typescript runtime & toolkit.
$ bun install
Copy .env.example
to .env
and fill the variables.
$ cp .env.example .env
# development mode
$ bun run start:dev
# production mode
$ bun run start:prod
# generate migration file
$ bun run migration new <migration-name>
# run migration
$ bun run migration up
# revert last migration
$ bun run migration down
# revert migrations
$ bun run migration down <number-of-migrations>
# list migrations
$ bun run migration list
TODO