A reference project to build, and deploy a Node app on Azure
A todo app writing, and reading data from Azure Cosmos DB
terraform -help # prints Terraform options
az --version # prints azure-cli verion
az login # logins to Azure
cd deploy # change to deploy directory
terraform init # initialises Terraform
terraform apply # deploys Azure stack. See output for Cosmos DB connection details
terraform destroy # destroys Azure stack
- In
src/config/config.js
update the values forHOST
, andAUTH_KEY
. See Azure documentations here
npm i # installs node dependencies
npm start # app listens at local host port 3000
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate