Skip to content

A streamlined onboarding experience with Azure Pass for your events

License

Notifications You must be signed in to change notification settings

sinedied/azure-checkin

Repository files navigation

Azure Check-in

A streamlined onboarding experience with Azure Pass for your events.

azure boarding pass

You can access the deployed production website at https://azcheck.in.

Stack

This app is build on a full serverless model, using Angular for the frontend, Azure Functions for the backend, Azure Cosmos DB for the database and Azure Static Web Apps for the hosting.

You can learn more about serverless apps and static web apps with these resources:

Development

You need to have at least a deployed Cosmos DB instance to work on this app. You can create a free trial Cosmos DB instance for testing using this link.

  1. Clone this repository on your local machine.
  2. Run npm install to install all dependencies.
  3. Create the file called api/local.settings.json with the following content:
{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "",
    "FUNCTIONS_WORKER_RUNTIME": "node",
    "CosmosDBConnectionString": "<YOUR_COSMOSDB_CONNECTION_STRING>"
  }
}
  1. Run npm start. It will start a local development server for the frontend, the Azure functions emulator for the backend and use the SWA CLI to expose everything on http://localhost:4280.

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Deployment

To deploy this app on Azure, you need to have an Azure subscription, and the Azure CLI.

The script scripts/deployment/create-infra.sh will create all Azure resources needed to deploy this app, using Bicep templates.

(WIP)

Organizer access

All Cloud Advocates listed on https://github.com/MicrosoftDocs/cloud-developer-advocates are automatically added to the Organizer list using this script.

If you're not on this list but would like to have organizer access, add your GitHub username at the top of this list by clicking here and submit a Pull Request.