Skip to content

RajdeepDey010/estore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

🛒 eStore

A full-stack ecommerce web application built with ReactJS, Redux, Node.js, and MySQL.


📌 Table of Contents


About

eStore is a modern, responsive ecommerce platform that allows users to browse products, manage a shopping cart, and place orders. It features a decoupled architecture with a ReactJS frontend and a RESTful Node.js backend connected to a MySQL database.


Tech Stack

Layer Technology
Frontend React.js, Redux, SCSS
Backend Node.js, Express.js
Database MySQL
Styling SCSS / CSS

Project Structure

estore/
├── estore/           # Frontend – React + Redux application
│   ├── public/
│   └── src/
│       ├── components/
│       ├── pages/
│       ├── redux/
│       └── App.js
│
└── estoreServer/     # Backend – Node.js + Express REST API
    ├── routes/
    ├── controllers/
    ├── models/
    └── server.js

Getting Started

Prerequisites

Make sure you have the following installed:


Installation

1. Clone the repository

git clone https://github.com/RajdeepDey010/estore.git
cd estore

2. Install frontend dependencies

cd estore
npm install

3. Install backend dependencies

cd ../estoreServer
npm install

Environment Variables

Create a .env file inside the estoreServer/ directory with the following variables:

PORT=5000
DB_HOST=localhost
DB_USER=your_mysql_username
DB_PASSWORD=your_mysql_password
DB_NAME=estore
JWT_SECRET=your_jwt_secret

Database Setup

  1. Open your MySQL client and create the database:
CREATE DATABASE estore;
  1. Import the schema (if a SQL file is provided):
mysql -u your_username -p estore < schema.sql

Running the App

Start the backend server

cd estoreServer
npm start

The server will run at http://localhost:1010.

Start the frontend

cd estore
npm start

The app will open at http://localhost:3000.


Features

  • 🏠 Home page with product listings
  • 🔍 Product browsing and detail view
  • 🛒 Shopping cart with add/remove/update functionality
  • 📦 Order management
  • 📱 Responsive design with SCSS

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create a new branch: git checkout -b feature/your-feature-name
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin feature/your-feature-name
  5. Open a Pull Request

Built with ❤️ by Rajdeep Dey

About

An ecommerce website built with ReactJS, Redux, NodeJS, Mysql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors