Skip to content

filegeiasou/FilegeiasouEshop

Repository files navigation

FilegeiasouEshop

Description

This is a simple e-commerce web application built using Node.js, Express.js, and MySQL. It allows users to sign up, login, and browse products. Users can also add products to their cart and place orders.

Installation

To run this application locally, follow these steps:

  1. Clone the repository to your local machine:

  2. Download and Install Node.js

First, you need to download and install Node.js. Follow these steps:

  1. Go to the Node.js official website.

  2. Click on the "Download" button for the recommended version.

  3. Run the installer and follow the prompts to install Node.js on your system.

  4. Install Express

Express is a popular web application framework for Node.js. To install Express, open your terminal or command prompt and run the following command:

npm install express
  1. Install MySQL MySQL is a widely-used open-source relational database management system. To install MySQL package, run the following command:
npm install mysql
  1. Install Body-parser Body-parser is a middleware that extracts the entire body portion of an incoming request stream and exposes it on req.body. To install Body-parser, run the following command:
npm install body-parser
  1. Set up the MySQL database:
  • Create a MySQL database with the name node.
  • Import the SQL schema from database.sql file located in the database directory.
  1. Open your web browser and visit http://localhost to access the application.

Dependencies

  • Express.js: Web application framework for Node.js.
  • MySQL: MySQL database driver for Node.js.
  • Body-parser: Middleware to parse incoming request bodies.

Usage

  • Sign up for an account to access the e-shop.
  • Browse available products and add them to your cart.
  • Proceed to checkout to place an order.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

Eshop with javascript,html,css and node.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published