@axenuab/joymon-admin-user-portal-backend
v0.0.4
Published
To install dependencies:
Readme
joymon-admin-user-portal-backend
To install dependencies:
bun installTo run:
docker-compose up
bun run devTo test:
docker-compose -f docker-compose.test.yml up
bun run testTo migrate:
bun run migrate-dev #developmentTo seed database: !OBS it deletes existing data.
bun run seed-dev #developmentKnex/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_nameRevert 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.
