Skip to content

bonin1/ecomerce

Repository files navigation

E-comerce

Introduction

Welcome to the documentation for our eCommerce project built with Node.js and MySQL. This comprehensive guide will walk you through the setup, configuration, and usage of our powerful eCommerce application.

Purpose

Our eCommerce platform aims to provide a robust and flexible solution for businesses looking to establish an online presence and streamline their sales operations. With a range of features and capabilities, our application empowers merchants to showcase their products, manage inventory, process orders, and offer a seamless shopping experience to their customers.

Key Features

  • Product Management: Easily add, update, and categorize products in your online store. Showcase detailed product descriptions, images, pricing, and inventory status.

  • Shopping Cart and Checkout: Enable customers to add products to their cart, review their selections, and proceed to a secure checkout process.

  • User Management: Allow users to create account, manage their profiles. Implement user authentication and authorization.

Installation and Setup

install dependencies

  npm install 

run the project

  npm start

access the project

  http://localhost:8080

Database Configuration

Install Xampp

  https://www.apachefriends.org/download.html

after accessing phpmyadmin

create a new database named ecomerce

  CREATE DATABASE IF NOT EXISTS ecomercedb

Libraries used

  • express
  • express-session
  • mysql2
  • bcryptjs
  • cookie-parser
  • sequelize
  • body-parser
  • dotenv
  • express-validator
  • express-rate-limit
  • validator
  • helmet
  • crypto