Front end repo: WhitmanCSCapstone/WRASCAL
Important! Ts.ED requires Node >= 14, Express >= 4 and TypeScript >= 4.
# install dependencies
$ yarn install
# serve
$ yarn start
# build for production
$ yarn build
$ yarn start:prod
# build docker image
docker compose build
# start docker image
docker compose up
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
}