Skip to main content

Introduction

ExpressoTS offers a refined layer over Express.js, enhancing server-side TypeScript application development. It blends the robustness of Express.js with advanced TypeScript features, streamlining the creation of scalable, maintainable, and readable applications.

Philosophy

Designed for efficiency, ExpressoTS simplifies server-side development. It reduces boilerplate, focusing on code clarity and structure. The framework's flexibility, through a comprehensive Dependency Injection system, supports seamless integration of custom features with predefined scopes (Transient, Scoped, Singleton), fostering modular and decoupled design. Whether for a straightforward API or an intricate enterprise system, ExpressoTS accelerates development, ensuring timely, within-budget delivery of high-quality applications.

Setup

Installation

Install the ExpressoTS CLI Globally:

npm i -g @expressots/cli

Project Initialization

Create a new project using the CLI:

expressots new <project-name>

For a quick setup, specify the project template and package manager directly:

expressots new <project-name> -p <package-manager> -t <template-name>

Project Templates

ExpressoTS offers two starter project templates: opinionated and non-opinionated.

  • non-opinionated: Offers structural flexibility.
  • opinionated: Provides a comprehensive project structure with predefined scaffold schematics.

Development Workflow

Access your project

cd <your-project-name>

Development Mode

npm run dev

Production Build

npm run build

Production Mode

npm run prod

Support the Project

ExpressoTS is an MIT-licensed open source project. It's an independent project with ongoing development made possible thanks to your support. If you'd like to help, please consider: