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:
⚡️ 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
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 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)