This is a demo website of an imaginary Book Shop. The front-end of the website has been coded using React and the back-end uses MySQL.
This was coded by following a tutorial by Lama Dev on YouTube.
- Install NodeJS, MySQL and the MySQL Workbench
- Create two terminal sessions, one for each folder of the project
- Run 'npm i' to install all libraries
- In MySQL Workbench, create a database called 'test'
- Inside the database, add a table called 'books'
- Enter the following properties for the table:
- Create a '.env' file inside the backend folder of the project
- In the '.env file', add the line
MYSQL_PASSWORD=""
and enter your password in the quotes - Run 'npm start' on both terminals created in Step 2