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, TypeScript, Prisma and MongoDB ⚑️ Made with developer experience first: Serverless framework + Live reload + Offline support + ExpressJS + TypeScript + ESLint + Prettier + Husky + Commitlint + Lint-Staged + Jest + Dotenv + esbuild + VSCode

Serverless Boilerplate with Serverless Framework 3, ExpressJS, TypeScript, Prisma and MongoDB Twitter

Serverless Boilerplate Banner

πŸš€ Serverless Boilerplate is starter code for your backend and REST API based on Serverless framework with Express JS, TypeScript, Prisma and MongoDB. ⚑️ Made with Serverless framework, Live reload, Offline support, ExpressJS, TypeScript, ESLint, Prettier, Husky, Lint-Staged, Jest, Commitlint, Dotenv, VSCode.

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

Features

Developer experience first:

  • πŸ”₯ Serverless framework
  • ⚑️ ExpressJS
  • βœ… Type checking TypeScript with strict mode
  • πŸ“š ORM with Prisma
  • πŸ’– Database with MongoDB with in-memory database for local development
  • πŸ“ Linter with ESLint with Airbnb configuration
  • πŸ’– Code Formatter with Prettier
  • 🦊 Husky for Git Hooks
  • 🚫 Lint-staged for running linters on Git staged files
  • πŸš“ Lint git commit with Commitlint
  • πŸ““ Write standard compliant commit messages with Commitizen
  • 🦺 Unit testing with Jest and Supertest for integration testing
  • πŸ‘· Run tests on pull request…




Top comments (0)