Implementation of the Intended Link API server in Typescript.
Go to file
Silas 6bdf7a32a9 Initial commit 2024-09-11 16:40:12 -04:00
src Initial commit 2024-09-11 16:40:12 -04:00
views Initial commit 2024-09-11 16:40:12 -04:00
.barrelsby.json Initial commit 2024-09-11 16:40:12 -04:00
.dockerignore Initial commit 2024-09-11 16:40:12 -04:00
.editorconfig Initial commit 2024-09-11 16:40:12 -04:00
.eslintignore Initial commit 2024-09-11 16:40:12 -04:00
.eslintrc Initial commit 2024-09-11 16:40:12 -04:00
.gitignore Initial commit 2024-09-11 16:40:12 -04:00
.prettierignore Initial commit 2024-09-11 16:40:12 -04:00
.prettierrc Initial commit 2024-09-11 16:40:12 -04:00
.tool-versions Initial commit 2024-09-11 16:40:12 -04:00
Dockerfile Initial commit 2024-09-11 16:40:12 -04:00
README.md Initial commit 2024-09-11 16:40:12 -04:00
docker-compose.yml Initial commit 2024-09-11 16:40:12 -04:00
package-lock.json Initial commit 2024-09-11 16:40:12 -04:00
package.json Initial commit 2024-09-11 16:40:12 -04:00
processes.config.js Initial commit 2024-09-11 16:40:12 -04:00
tsconfig.compile.json Initial commit 2024-09-11 16:40:12 -04:00
tsconfig.json Initial commit 2024-09-11 16:40:12 -04:00
vitest.config.mts Initial commit 2024-09-11 16:40:12 -04:00

README.md

Ts.ED logo

Ts.ED - intended-server


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
}