DEV Community

Cover image for The Ultimate Serverless Framework Starter with ExpressJS and TypeScript
Remi W.
Remi W.

Posted on

The Ultimate Serverless Framework Starter with ExpressJS and TypeScript

After working on boilerplate for Next Js and 11ty, I've recently published a starter code for Serverless framework with Express JS and TypeScript. Made for better developer experience: ESLint, Prettier, offline and local support, debugger with VSCode, etc.

You can also check the source code on GitHub: Serverless Starter Express TypeScript

Built-in feature for developer:

  • πŸ”₯ Serverless framework

  • ⚑️ ExpressJS

  • πŸŽ‰ Type checking TypeScript

  • ✏️ Linter with ESLint

  • πŸ›  Code Formatter with Prettier

  • πŸ“– Local support with Serverless Offline

  • ✨ Debug locally with VSCode (optional)

  • πŸ’¨ Live reload

  • βš™οΈ Environment variable with Serverless Dotenv

  • 🦊 HTTP Api instead of API gateway for cost optimization

GitHub logo ixartz / Serverless-Boilerplate-Express-TypeScript

πŸš€ Boilerplate and Starter for Serverless framework, ExpressJS and TypeScript ⚑️ Made with developer experience first: Serverless framework, ExpressJS, TypeScript, ESLint, Prettier.

Serverless Boilerplate with Serverless Framework, ExpressJS and TypeScript

Serverless Boilerplate Banner

πŸš€ Serverless Boilerplate is starter code for your backend and REST API based on Serverless framework with Express JS and TypeScript. ⚑️ Made with Serverless framework, ExpressJS, TypeScript, ESLint, Prettier.

Clone this project and use it to create your own backend.

Features

Developer experience first:

  • πŸ”₯ Serverless framework
  • ⚑️ ExpressJS
  • πŸŽ‰ Type checking TypeScript
  • ✏️ Linter with ESLint
  • πŸ›  Code Formatter with Prettier
  • πŸ“– Local support with Serverless Offline
  • ✨ Debug locally with VSCode (optional)
  • πŸ’¨ Live reload
  • βš™οΈ Environment variable with Serverless Dotenv
  • 🦊 HTTP Api instead of API gateway for cost optimization

Philosophy

  • Minimal code
  • πŸš€ Production-ready

Requirements

  • Node.js and npm

Getting started

Run the following command on your local environment:

git clone --depth=1 https://github.com/ixartz/Serverless-Boilerplate-Express-TypeScript.git my-project-name
cd my-project-name
npm install

Then, you can run locally in development mode with live reload:

npm run dev

The…




Top comments (0)