- Navigate to backend/config/config.json and change the password to your MySQL password.
{
"host": "localhost",
"user": "root",
"database": "posts",
"password": "< password >"
}
To run this project npm 16.20.2 is needed
use nvm to change npm version to 16:
nvm use 16
Notes:
- Deploy this repo in render.com
- For development purposes the host is localhost but this will need to be updated if you decide to deploy the application. By Default, MySQL gives the user 'root' with all privileges. You can simply change this to another user if desired. In this application we named our database 'posts', however, if you went with a different name this will need to be changed.
- cd backend
- $ npm install
- $ npm start
- cd ../frontend
- $ npm install
- $ npm start