For frontend application, run the following command in the src\web
directory:
yarn install
For Azure Functions, you need to install Azure Functions Core Tools. For more information, see Install the Azure Functions Core Tools.
For Azure Static Web App, you need to install Azure Static Web Apps CLI:
npm install -g @azure/static-web-apps-cli
-
Run the following command in the
src\web
directory:yarn run dev
The frontend application will be available at
http://localhost:3000
. -
Run the following command in the
src\api
directory:func start
The Azure Functions application will be available at
http://localhost:7071
. -
Run Azure Static Web App simulator:
swa start
The Azure Static Web App simulator will be available at
http://localhost:4280
.
We now use GitHub Actions for simplified CI/CD pipeline. The workflow is defined in .github\workflows
.
Please visit: https://thankful-sand-05f09fa00.3.azurestaticapps.net/
The site is protected with a password: FarmPicking2023!
.