This repository contains a sample backend for connecting a react app with mysql database using expressjs.
Follow these steps to set up your environment on Linux Ubuntu.
sudo apt install npm
npm install express-generator
npm install create-react-app
npm install mysql cors @material-ui/core
npm install reactjs-popup
To start the back end app, from the root folder run:
node bin/www
Start the React development server by going into client folder and running :
sudo npm install
npm start