/scalable-monolith-ts

A scalable ts monolith

Primary LanguageTypeScript

Disclaimer

Creating a monolith that can scale

Installation & Configuration

application

npx tsc --init
npx tslint --init
npm i ts-node --save-dev
npm i ts-node @types/uuid --save-dev
npm i express @types/express --save
npm i sequelize sequelize-typescript sqlite3 --save
npm i dotenv nodemon @types/express --save
npm i reflect-metadata uuid yup --save

tests

npx jest --init
npm i @swc/cli @swc/core @swc/jest jest @types/jest @types/jstoxml --save-dev
npm i supertest @types/supertest --save-dev
npm i jstoxml --save

Usage

execution

test

npx nodemon src/main.ts npx test

local http testing

curl http://localhost:3000