node-express-typescript-starter-2022
node-express-typescript-starter-2022 copied to clipboard
A minimal node, express and typescript starter template for 2022 & 2023
Node Express & Typescript Starter for 2022 & 2023
"A minimally opinionated typescript & express starter for 2022 & 2023"
The easy way to use this template:
yarn create my-express --typescript my-project
or
npx create-my-express --typescript my-project
Usage:
You should copy .env.sample to .env and then:
npm run dev - Run the development server.
npm test - Run tests.
npm run test:watch - Run tests when files update.
npm run build - Builds the server.
npm start - Runs the server.
Default endpoints:
A GET request to / will respond with a description of the application.
A POST request to / will echo any json sent in the request body.
Help out
Feedback and contributions are very welcome.