Get a Typescript Node.js API in just a few minutes.
Use this template with the serverless framework and get up and running with a basic API in just a few minutes.
You can swap our KoaJS for Express, or any other standard node.js library by tweaking the handler and wrapping it using that library.
Load Template
serverless create --template-url "https://github.com/rlingineni/serverless-api/tree/main" --path ./api
Use the API directory
cd api
Deploy API
serverless deploy
Starts a local server at localhost:8000
npm run start