This is a base NodeJS TypeScript App built with express and all configurations files included.
This repository is meant to be a base to build on top of for building an API.
git clone https://github.com/codingwithmanny/nodets-bootstrap myproject;
cd myproject;
rm -rf .git;
git init;
git remote add origin https://github.com/your/newrepo;
- NodeJS 18.12.1 or NVM
- pnpm
While in project directory:
nvm install;
yarn install; # npm install;
Development:
pnpm dev; # npm dev;
Production:
pnpm start; # npm start;
Build
pnpm build; # npm run build
Build & Serve
pnpm start; # npm start
All Tests
pnpm test; # npm run test;
Jest Watch
pnpm test:jest; # npm run test:jest;
Jest Coverage
pnpm test:coverage; # npm run test:coverage;
Eslint
yarn test:lint; # npm run test:lint
Newman
pnpm test:newman; # npm run test:newman