Skip to content

Dockerized REST API powered by express+typescript, ready to be deployed on kubernetes cluster

License

Notifications You must be signed in to change notification settings

kube-js/kube-ts-server

Repository files navigation

kube-ts-server

codecov GitHub tag (latest SemVer) jscpd

Dockerized restful API powered by express/typescript ready to be deployed on kubernetes cluster

Docs

https://kubetsserver.docs.apiary.io

Getting started

  • clone the repo
git clone git@github.com:kube-js/kube-ts-server.git
  • install all dependencies
npm install
  • migrates and seeds a project
npm run setup
  • build the project
npm run build
  • run the server (for production, after build)
npm run start
  • run the server (for dev purposes, has a watch mode)
npm run dev
  • run tests
npm run test

npm run test:watch

Currently includes the following models:

  • users
  • userRole
  • roles
  • rolePermission
  • permissions
  • resetPasswordTokens
  • courses
  • enrolments
  • sections
  • units

This repo would not exist if not inspiration coming from:

Credits: