An awesome project based on Ts.ED framework
Important! Ts.ED requires Node >= 14, Express >= 4 and TypeScript >= 4.
# install dependencies
$ bun install
$ bun run barrels
$ bun run start
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
}
To be investigated
Need to run bun install @tsed/components-scan
to solve the issue.
Run the following command to solve the issue:
bun install --backend=copyfile