Skip to content

fierypanda347/sql-react-js-book-shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Book Shop Website with React and MySQL

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.

Steps to run this code

  1. Install NodeJS, MySQL and the MySQL Workbench
  2. Create two terminal sessions, one for each folder of the project
  3. Run 'npm i' to install all libraries
  4. In MySQL Workbench, create a database called 'test'
  5. Inside the database, add a table called 'books'
  6. Enter the following properties for the table:

MySQL Workbench Configurations

  1. Create a '.env' file inside the backend folder of the project
  2. In the '.env file', add the line MYSQL_PASSWORD="" and enter your password in the quotes
  3. Run 'npm start' on both terminals created in Step 2

About

A Book Shop Website created using ReactJS and MySQL

Topics

Resources

Stars

Watchers

Forks