@axenuab/joymon-admin-user-portal-backend
v0.0.4
Published
To install dependencies:
Downloads
2
Readme
joymon-admin-user-portal-backend
To install dependencies:
bun install
To run:
docker-compose up
bun run dev
To test:
docker-compose -f docker-compose.test.yml up
bun run test
To migrate:
bun run migrate-dev #development
To seed database: !OBS it deletes existing data.
bun run seed-dev #development
Knex/Objection
Knex is to connect to the database and handle migrations.
Objection is an ORM that handles modules and query building.
Create new migration
bunx knex migrate:make migration_name
Revert migration !OBS this action is destructive to data
bun run migrate:down-dev
Sentry:
Sentry is initialized in app.ts.
Change the dns in .env.production
and .env.staging
for new project.
This project was created using bun init
in bun v1.0.22. Bun is a fast all-in-one JavaScript runtime.