A very basic boilerplate for an Azure ready MERN app
The tutorial for deploying this boilerplate can be found here: https://medium.com/@tuna.sogut/how-to-deploy-a-mern-stack-app-to-azure-via-continuous-integration-a3a551526e26?sk=0fc4fa9d7c7072ad7e95b94d7e5733e4
thub.com/freddysilber/potsbarback/workflows/Build%20and%20deploy%20Node.js%20app%20to%20Azure%20Web%20App%20-%20potsbarbak/badge.svg?branch=azure-dev)
- run
npm i
in the root directory cd
into the 'client' directory and runnpm i
cd
back to the root directory and runnpm run dev
- This will start the Express server and React app together and launch the app in a local host
- init: this script will install deps in both directories, build the frontend and then run the dev server
- start: script for production
- client-install: installs deps in the client folder
- server: starts the node server
- dev: runs the node server and the frontend server simultaniously for development.