This repository is no longer supported, please consider using Lesgo! Framework instead.
This repository contains a set of serverless templates to bootstrap your serverless projects.
NOTE: This is not an introduction to the Serverless Framework. You would need to know how Serverless Framework works prior to using any of these templates.
Through the years we have created several serverless projects and microservices and come to realise that most of the basic requirements are the same. As Serverless Framework supports Templates, this repository is born.
Refer to the list of available templates to learn more of what each template provides.
Prerequisites: Install Serverless Framework with: npm install -g serverless
.
Create Serverless project
$ sls create --template-url https://github.com/mosufy/serverless-templates/tree/master/api-lite --path my-service
$ cd my-service
Install dependencies
$ yarn install
Start local
$ yarn start
Access local url via browser or Postman (recommended): http://localhost:8181/ping
See the available templates for more in-depth documentation and usage.