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!)
- Node.js
v8.5.0or later. - Serverless CLI
v1.9.0or later. You can runnpm install -g serverlessto install it. - An Azure and/or AWS account(s) (For Deployment)
Clone the repository
$ git clone https://github.com/wbreza/multicloud-demo.git$ cd multicloud-demo
$ npm ci$ npm run test
$ npm startTo 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:azureTo 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