redgeoff / serverless-playground

Playground for the Serverless Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auth Service

Circle CI

2nd Generation Identity Service

Install

yarn install

Run Locally

yarn serve

Deploy Remotely

Assuming you've already set up your default AWS credentials (or have set a different AWS profile via the profile field):

yarn deploy

yarn deploy will deploy to "dev" environment. You can deploy to stage or production with:

yarn deploy:stage

# -- or --

yarn deploy:production

After you've deployed, the output of the deploy script will give you the API endpoint for your deployed function(s), so you should be able to test the deployed API via that URL.

Swagger Docs

The API Docs are automatically generated using swagger.io and the swagger.yml definition

You may find it useful to visualize the Swagger definition with Swagger Editor

About

Playground for the Serverless Framework


Languages

Language:TypeScript 90.7%Language:JavaScript 9.3%