Romakita / prisma_tsed_issue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ts.ED logo

Ts.ED - tablet-api


Website   •   Getting started   •   Slack   •   Twitter

An awesome project based on Ts.ED framework

Getting started

Important! Ts.ED requires Node >= 14, Express >= 4 and TypeScript >= 4.

# install dependencies
$ npm install

# serve
$ npm run start

# build for production
$ npm run build
$ npm run start:prod

Docker

# build docker image
docker compose build

# start docker image
docker compose up

Barrelsby

This project uses barrelsby to generate index files to import the controllers.

Edit .barreslby.json to customize it:

{
  "directory": [
    "./src/controllers/rest",
    "./src/controllers/pages"
  ],
  "exclude": [
    "__mock__",
    "__mocks__",
    ".spec.ts"
  ],
  "delete": true
}

About


Languages

Language:TypeScript 58.6%Language:EJS 33.1%Language:JavaScript 8.3%