Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 1.19 KB

README.md

File metadata and controls

63 lines (41 loc) · 1.19 KB

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.