pjlittle / multicloud-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@multicloud Demo

This project shows an easy example on how to create a Serverless REST API that supports multi-cloud deployment to Azure & AWS. The project is built using the Serverless framwork and the CSE @multicloud library (coming soon!)

Pre-requisites

  1. Node.js v8.5.0 or later.
  2. Serverless CLI v1.9.0 or later. You can run npm install -g serverless to install it.
  3. An Azure and/or AWS account(s) (For Deployment)

Setup

Clone the repository

$ git clone https://github.com/wbreza/multicloud-demo.git

Navigate to directory

$ cd multicloud-demo

Install Dependencies

$ npm ci

Run Unit Tests

$ npm run test

Run Locally

$ npm start

Deploying to Azure

To deploy to Azure you will need an Azure account and have your credentials configured correctly. See the quick start for more information.

$ npm run deploy:azure

Deploying to AWS

To deploy to AWS you will need an AWS account and have your credentials configured correctly. See the quick start for more information.

$ npm run deploy:aws

About


Languages

Language:JavaScript 100.0%