Complete the following tasks
- Update the GitHub WorkFlows YAML file.
- Line 4 Use the Azure Web App Service you will need to create.
- Line 22 Update to the version of Node you are using.
- Line 62 Get your user profile information *^Not currently aware of how to retirieve this.
- Rename the env.md file to .env and update the variables.
- Add the variables from the .env file to your Azure Web App
- Edit the router.mjs file to update the rte values with whatever route you want to create.
- Update the coll variable in the rte.mjs file for the MongoDB collection you are calling.
- Publish App to GitHub repo.
- Add the repo to your Azure Web App
- Go to the Azure portal> Web App > Deployment Center > Settings
- Connect to your GitHub account and select your repository.
- To run locally run the following commands in the terminal
- npm i
- npm run start
If you have completed all these tasks to update the project, then the app should run no problem and then you should be able to get the pages to load.
- cors
- dotenv
- express
- express-async-errors
- mongodb
- morgan
- webpack
- webpack-cli
- webpack-node-externals
- XXX Next Package
XXX
If you followed the new setup instructions and tasks are followed, then you will only need to check in your code to source control.
- Convert to TypeScript
- Add PM2 for keeping the app alive and managing.
- Keep updating