Skip to content

tsedio/tsed-example-prisma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ts.ED logo

Ts.ED - tsed-example-prisma


Website   •   Getting started   •   Slack   •   Twitter

An awesome project based on Ts.ED framework

Getting started

Important! Ts.ED requires Node >= 20.x or Bun.js and TypeScript >= 5.

# 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

Barrels

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

Edit .barrels.json to customize it:

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