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.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)
Clone the repository
$ git clone https://github.com/wbreza/multicloud-demo.git
$ cd multicloud-demo
$ npm ci
$ npm run test
$ npm start
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
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