Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 573 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 573 Bytes

express-objection-typescript

Packages Used

  1. Express JS
  2. Object Js
  3. Knex
  4. pg
  5. Jest

How to run the project

cd /project
mv .env.example .env
createdb sample_db // postgres. You may need to modify knexfile.ts if using other database
yarn serve // runs development server
yarn build && yarn start // runs production serve
yarn test // runs jest

Feature

  • TS compilation
  • DB Connection
  • Auth: Register user, Login user
  • Configure Test suite
  • Rest API playground
  • RBAC (Role based access control)
  • Graphql