This is a very simple, distributed initiative tracker for role-playing games. Our party uses it to submit and track our initiative scores while playing D&D over video chat.
npm install
-
Create an Azure Table storage account and read/write connection strings
-
Create api/local.settings.json with connection strings to Azure Table storage
{
"IsEncrypted": false,
"Values": {
"MyStorageConnectionAppSetting": "",
"AZURE_STORAGE_CONNECTION_STRING": "",
"FUNCTIONS_WORKER_RUNTIME": "node"
}
}
- To start the local Azure Functions runtime
cd api
func host start
- To start the local Vue web server
npm run serve
npm run build
npm run lint
This project is meant to be deployed as an Azure Static Web App from a github repository.
-
Create an Azure Table storage account and read/write connection strings
-
Add application settings to the Static Web App configuration.
{
"MyStorageConnectionAppSetting": "",
"AZURE_STORAGE_CONNECTION_STRING": "",
"FUNCTIONS_WORKER_RUNTIME": "node"
}
}
-
Deploy repository contents to the Static Web App.
-
(optional) Configure a custom domain for the Static Web App.