Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 892 Bytes

README.md

File metadata and controls

46 lines (31 loc) · 892 Bytes

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.