Skip to content

AnomalyInnovations/serverless-cd-demo-a1c8

Repository files navigation

Seed Demo Project

This is a demo Serverless Framework project to show off Seed in action.

Seed Features

Here are a few things Seed supports out of the box:

  • New builds are triggered after a git push to the master branch.
  • Master is linked to the dev stage.
  • Tested builds are created with Dev and Production artifacts.
  • Builds are automatically deployed to Dev.
  • Dev endpoint is deployed using the dev environment variables.
  • Promote a build to Production from the dashboard.
  • Production endpoint is deployed using the production environment variables.
  • Secrets can be set through the Settings in the dashboard.
  • Secrets are encrypted using your AWS KMS key.
  • One click Rollback through the Production stage in the dashboard.

Requirements

Seed needs the following to set up your project:

  • Deploys to your AWS account with your IAM User Access Key and Secret Key.
  • Links to your GitHub repo using your GitHub personal access token.

About this demo project

This is a simple Serverless Framework project with a couple of things to note.

  • There is one handler function that creates a single API endpoint.
  • There are a few environment variables in the serverless.yml that are used while deploying.
  • Tests are configured using Jest.

Usage

Contact us via email and we'll give you access to this repo.

Clone this repo

$ git clone https://github.com/AnomalyInnovations/serverless-cd-demo-a1c8

Install the NPM packages

$ npm install

Make some changes to hanlder.js and run tests

$ npm run test

Commit and push to master

$ git commit
$ git push

Enjoy!

Feedback

Send us your feedback via Twitter to Frank Wang (@fanjiewang) or Jay V (@jayair). Or send us an email.

About

A demo Serverless Projects deployed using Seed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published