Skip to content

Express app, with Objection JS, Jest, Supertest integration. Written in Typescript.

Notifications You must be signed in to change notification settings

xinhash/express-objection-typescript

Repository files navigation

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

About

Express app, with Objection JS, Jest, Supertest integration. Written in Typescript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •