Skip to content
/ express-template Public template

Minimal and flexible Express template to quickly start building backend applications with essential tools like environment configuration, error handling, and CORS support.

License

Notifications You must be signed in to change notification settings

Bart0llo/express-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express Template

A minimal and flexible Express template to kickstart your backend project. This template is designed to help you quickly get up and running with a clean and well-organized Express server. It's equipped with essential tools, including CORS, environment configuration, and error handling.

Table of Contents

  1. Installation
  2. Usage
  3. License
  4. Contact

Installation

Prerequisites

  • Node.js 20.x
  • pnpm

Steps

  1. Clone the repository:

    git clone https://github.com/Bart0llo/express-template
  2. Navigate to the project directory:

    cd express-template
  3. Install dependencies:

    pnpm install
  4. Create a .env file in the root directory to manage environment variables, e.g.:

    PORT=3000
    

Usage

  1. To run the app in development mode:

    pnpm run dev
  2. To run the app in production mode:

    pnpm start

License

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

Contact

For questions or feedback, please reach out to bart0llo.dev.

About

Minimal and flexible Express template to quickly start building backend applications with essential tools like environment configuration, error handling, and CORS support.

Resources

License

Stars

Watchers

Forks