Skip to content

This is a Online Store created using HTML,CSS and JS. It uses Express.js in backend and involves usage of MySQL as the database. For shoppers, browse products across various categories. View detailed product descriptions, images, and reviews to make informed decisions.

Notifications You must be signed in to change notification settings

Nikhil190804/OnlineStore

Repository files navigation

Steps to run the project

  1. Clone this repo using https://github.com/Nikhil190804/OnlineStore.git
  2. Open MySQL Workbench or any other equivalent software that can run MySQL scripts
  3. Copy the contents of the DataBase Schema.txt file and paste it into the MySQL Workbench. This will create a whole MySQL database on your local PC. After this, ensure that your host, user, and password are correct. If not, edit the server.js file at line 7 and change accordingly:
const mydb = mysql.createConnection({
 host: "localhost",
 user: "root",
 password: "password",
});
  1. Now move to the repo directory: OnlineStore/
  2. Open a terminal here
  3. Write npm install. This will install all the packages from the package.json file
  4. Now, simply run node ./server.js. This will start a server on port 3000 of your local computer, and the site will be opened at this link: https://localhost:3000
  5. Happy Browsing the items!

About

This is a Online Store created using HTML,CSS and JS. It uses Express.js in backend and involves usage of MySQL as the database. For shoppers, browse products across various categories. View detailed product descriptions, images, and reviews to make informed decisions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published