This is a repository intended to serve as a starting point if you want to bootstrap a express API project in TypeScript with examples.
Create a .env file
# REQUIRED
PORT=3000
# OPTIONALS
DB_HOST=localhost
DB_USER=root
DB_PASS=123456
DB_DATABASE=kuria
SALT=kuriafilosofea
# install dependencies
npm install
# run in dev mode
npm run dev
# generate production build
npm run build
# run generated content in dist folder
npm run start
npm run test
Open folder /testrestclient
- TypeScript (v4)
- ts-node-dev
- Prettier
- ESLint with:
- Jest with DOM Testing Library
- GitHub Action workflows set up to run tests and linting on push