Skip to content

A boilerplate for an ExpressJS server with a few basic features

License

Notifications You must be signed in to change notification settings

Kan-A-Pesh/express-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal ExpressJS server boilerplate

This is a boilerplate for an ExpressJS server with a few basic features.

Features

  • 📜 Custom File & Console logging
  • 📦 Environment variables
  • 📝 Body parsing
  • 🚀 Structured responses
  • 🛑 Error handling
  • 🐳 Docker managed
  • 🧼 Prettier & ESLint config
  • 🧪 Jest & Supertest testing

Getting started

  1. Clone the repository
git clone https://github.com/Kan-A-Pesh/express-boilerplate.git
  1. Install dependencies (for Intellisense)
npm install
  1. Start the dev server (with Docker)
npm run dev

Building the Docker image

After you've made your changes, you can build the Docker image with the following command:

npm run build -- <image-name>

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A boilerplate for an ExpressJS server with a few basic features

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published