Skip to content

tsedio/tsed-bun-example

Repository files navigation

Ts.ED logo

Ts.ED - tsed-bun-example


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
$ bun install
$ bun run barrels
$ bun run start

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
}

Know issues

'Resource "/" not found' cause SIGSEGV

To be investigated

Could not resolve: "@tsed/components-scan". Maybe you need to "bun install"?

Need to run bun install @tsed/components-scan to solve the issue.

error: Unexpected installing tslib

Run the following command to solve the issue:

bun install --backend=copyfile

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published