https://github.com/kube-js/kube-ts-server
Dockerized REST API powered by express+typescript, ready to be deployed on kubernetes cluster
https://github.com/kube-js/kube-ts-server
api courses docker express kubernetes learning nodejs platform rest typescript
Last synced: 6 months ago
JSON representation
Dockerized REST API powered by express+typescript, ready to be deployed on kubernetes cluster
- Host: GitHub
- URL: https://github.com/kube-js/kube-ts-server
- Owner: kube-js
- License: mit
- Created: 2019-02-18T23:19:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-12-31T15:59:09.000Z (6 months ago)
- Last Synced: 2026-01-05T00:44:40.248Z (6 months ago)
- Topics: api, courses, docker, express, kubernetes, learning, nodejs, platform, rest, typescript
- Language: TypeScript
- Homepage: https://demo.mariuszrajczakowski.me/api/v1
- Size: 2.13 MB
- Stars: 12
- Watchers: 0
- Forks: 3
- Open Issues: 45
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kube-ts-server
[](https://codecov.io/gh/kube-js/kube-ts-server)


## Dockerized restful API powered by express/typescript ready to be deployed on kubernetes cluster
## Docs
[https://kubetsserver.docs.apiary.io](https://kubetsserver.docs.apiary.io)
## Getting started
- clone the repo
```js
git clone git@github.com:kube-js/kube-ts-server.git
```
- install all dependencies
```js
npm install
```
- migrates and seeds a project
```js
npm run setup
```
- build the project
```js
npm run build
```
- run the server (for production, after build)
```js
npm run start
```
- run the server (for dev purposes, has a watch mode)
```js
npm run dev
```
- run tests
```js
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:
- [ryansmith94](https://github.com/ryansmith94):
- [js-entity-repos](https://github.com/js-entity-repos)
- [js-migrations](https://github.com/js-migrations)
- [rulr](https://github.com/ryansmith94/rulr/)
- vinaysahni.com:
- [best-practices-for-a-pragmatic-restful-api](https://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api)
- [http://dev.enchant.com](http://dev.enchant.com)
## Credits:
- [banzaicloud.com](https://banzaicloud.com/blog/nodejs-in-production/)