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
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
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)