This project is created by Mycos Technogies for Webapp deployment on Azure training. This is a example of frontend that develop via React Hook & Typescript.
- setting your API environment in file
.env
- install package with
npm install
In the project directory, you can run:
we can develop on local with
Runs the app in the development mode with the backend endpoint in .env file (that needs to run Node.js as backend app in localhost together).
Open http://localhost:3000 to view it in the browser.
we can test production mode on local with
npm run build
then,
serve -s build
first time? you need to install it first by
npm install -g serve
You can follow the azure deploy instruction to explain steps to deploy the frontend application as Static WebApp on Azure.