Skip to content

harshalslimaye/compose-express-app

Repository files navigation

If you find this project useful, please consider giving it a star (⭐) on GitHub.

Express TypeScript Boilerplate ⚡

A minimalistic boilerplate for building Express.js applications using TypeScript.

Features

Installation

To create a express app:

npx compose-express-app my-app
cd my-app
npm start

Configuration

  • Create a .env file in the project root and configure your environment variables. You might need to set variables like port, database connection details, or any other configuration specific to your project.

  • Customize the Express routes and application logic located in the src/ directory according to your project's requirements.

Running the Application

Build the TypeScript source code to the dist/ directory:

npm run build

Start the development server with automatic reloading:

npm start

To run tests, use the following command:

npm test

License

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