- Since this project uses MySQL, you are going to need MySQL installed on your system
- Once that is complete, create a localhost database on your machine, and change the enviornment variables in
server/server.js
at the top of the file according to your database - After you've created the database, create a table,
blogs
, with the columns oftitle, author, content
- Proceed to the general setup below
cd react-blog
, runnpm install
, then runnpm start
- Open a seperate terminal,
cd server
, runnpm install
, then runnpm start