/node-express-starter-2022

A minimal node and express starter template for 2022 & 2023

Primary LanguageJavaScript

Node & Express API Starter For 2022 & 2023

"A minimally opinionated node & express starter for 2022 & 2023"

The easy way to use this template:

yarn create my-express my-project

npx create-my-express 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.