A serverless
boilerplate project, it is bundled together including:
express
typescript
serverless
- Login into
serverless
account, withserverless login
command - follow the prompts. - Next, run
npm install
to install project dependencies. - Deploy with
npm run deploy
, to AWS Lambda for the first time. - You can run this project locally with
npm run dev
. It's simple express project with Typescript.
Before you begin development, prepare your serverless
boilerplate, with your configurations and settings set for your needs. A checklist is prepared for you below:
- Configure
serverless.yml
file, to suit AWS account details and Lambda configurations. - Modify
package.json
file, its properties and the list of packages if needed. - There is an example file called
/controllers/demo.ts
, modify / change this section and its contents. Or, you may modify the rest of thesrc
folder and its contents.