Skip to content

πŸ“£ Demo I presented at the React Global Summit 2022. Talk: Adding intelligence to your React app with Azure.

Notifications You must be signed in to change notification settings

sahansera/rgs-2022-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

42 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Adding intelligence to React Apps with Azure Cognitive Services

This is the demo code I presented at the React Global Summt 2022. You can find the accompanying blog post here.

Quickstart πŸš€

Make sure to provision the following in Azure:

  1. Azure Cognitive Search
  2. Azure Storage account

Then update the configuration in a .env.local file.

touch .env.local
echo "SEARCH_URL=https://<search-service-name>.search.windows.net" >> .env.local
echo "SEARCH_KEY=AZ Portal > Search service > Keys" >> .env.local
echo "DB_ENDPOINT=https://<storage-account-name>.table.core.windows.net" >> .env.local
echo "DB_ACCOUNT_NAME=AZ Portal > Storage account > Keys" >> .env.local
echo "DB_ACCOUNT_KEY=AZ Portal > Storage account > Keys" >> .env.local
echo "DB_TABLE_NAME=<table-name>" >> .env.local

To start the development server:

cd src && yarn && yarn dev

Architecture πŸ—

rgs22-architecture

Talk's slides πŸ›

SpeakerDeck