DEV Community

Cover image for Introducing ExpressoTS 2.0
Richard Zampieri for ExpressoTS

Posted on

Introducing ExpressoTS 2.0

Introducing ExpressoTS 2.0: A Major Leap forward for TypeScript-Based Server-Side Applications!

We're thrilled to announce the release of ExpressoTS 2.0, a groundbreaking update packed with features designed to significantly enhance your development experience. Here's a detailed look at what this new version brings to the table:

Improved CLI Experience: We've completely overhauled our Command-Line Interface (CLI) from the ground up, targeting a smoother, more responsive developer experience, not just increasing the responsiveness but adding more scaffold options.
More about CLI here...

Unified App Class: Introducing a new App class that serves as the centralized entry point for configuring services and your application's request pipeline. Upon startup, an instance of this App class is automatically created based on the adapter in use (the default being the Express.js adapter), facilitating seamless configuration and behavior control.

Dynamic Core Development Packages: Version 2.0 includes a suite of built-in core development packages (also known as middlewares) that can be dynamically imported into your application pipeline. These middlewares are not loaded until they are explicitly called, ensuring that your application remains as lightweight as possible.
More about built-in middleware and providers here

In-Memory Database for Quick Prototyping: Say goodbye to the initial setup hassles with our In-Memory Database, designed to fast-track your prototyping process.
More about In Memory DB here

In addition to these pivotal enhancements, ExpressoTS 2.0 offers an array of supplementary features to smooth out the kinks in your development workflow. For a deeper dive into what’s new, check out our comprehensive documentation here.

We extend our heartfelt thanks to our vibrant community of developers. Your insightful feedback and contributions have been invaluable in shaping this landmark release. ExpressoTS 2.0 stands as a testament to our unwavering commitment to deliver a robust, developer-friendly framework for building web applications.

To Start with ExpressoTS

  • Install the CLI
npm i @expressots/cli -g
Enter fullscreen mode Exit fullscreen mode

-Scaffold a new project

expressots new app-demo -t opinionated -p yarn #[npm, pnpm]
Enter fullscreen mode Exit fullscreen mode
  • Rename .env.example to .env
  • Execute the application
yarn dev
Enter fullscreen mode Exit fullscreen mode

-Run any endpoint available. The applications by default comes with a complete CRUD example using the InMemoryDB.

  • You can find the endpoints inside of useCases folder:

Image description

ExpressoTS #WebDevelopment #TypeScript #Framework

Top comments (0)