Cab sharing platform made with Deno, Express, and PostgreSQL.
- Make a .env file from the example:
cp .env.example .env
Note: If you're running drizzle-kit
outside docker, change this to localhost
- Use Docker to run the watcher
docker compose --profile dev up --build --watch
- To migrate the database, run
docker compose exec web-dev deno run db migrate
The schema is located in src/db/schema/tables.ts
. The database is managed
using Drizzle ORM.
- To generate migration files, run:
deno run db generate
Note: When running db commands outside of Docker, you may need to set the
PGHOST
environment variable to localhost
.
- To apply migrations, run:
deno run db migrate