- Uses serverless-offline so one can develop serverless locally.
Type in terminal:
npm i -g serverless # Installs serverless globablly, so you can run sls command
npx tiged nake89/serverless_ts_boilerplate my-app # Copy this boilerplate to my-app folder
cd my-app # Go to folder
npm i -D # Installs dependencies
sls offline start # Run server
- Start modifying your handler.ts. Every save will automatically restart the server :)