@axenuab/joymon-admin-user-portal-backend

0.0.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @axenuab/joymon-admin-user-portal-backend

Weekly Downloads

1

Version

0.0.4

License

none

Unpacked Size

438 kB

Total Files

83

Last publish

Collaborators

  • anton_joymon
  • axenu