@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
- Node.js
v8.5.0
or later. - Serverless CLI
v1.9.0
or later. You can runnpm install -g serverless
to install it. - 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