Skip to content

di-Suza/eCommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Name - "ECOMMERCE"

Live Demo - https://ecommerce-project-yy9l.onrender.com/

Test Users OR Seller - [ Email - demouser333@gmail.com Password - sujal2004

Email - smraj@gmail.com
Password - sujal2004

]

Frontend (ReactJS):

Description: The frontend of our e-commerce platform, developed with React, promises an engaging shopping experience. Users can seamlessly explore a diverse range of products, benefit from dynamic cart management, and track orders in real-time. Additionally, the platform boasts a personalized shopping experience with dedicated shop pages for each seller.

Key Features: Dynamic Cart Management: Explore products effortlessly and manage your cart dynamically for a frictionless shopping experience.

Personalized Shop Pages: Enjoy a personalized shopping journey with dedicated shop pages for sellers, fostering enhanced engagement and product discovery.

Real-time Order Tracking: Track orders in real-time, offering visibility into order statuses for a transparent and efficient shopping process.

Seller Panel: Sellers benefit from an efficient panel, streamlining order handling, and ensuring a seamless experience in managing their products and orders.

Responsive Design: The frontend guarantees a responsive design, adapting seamlessly to various devices and screen sizes, providing a consistent and enjoyable user experience.

Installation & Usage Steps: cd react-ecommerce npm install npm start

but before this you need to start backend server OR create build by using "npm run build", and set it in backend's /build;

Folder Structure: └── /src ├── /components- Contains reusable React components, Pages and their corresponding SCSS files. | ├──/SCSS- Holds SCSS files for styling. | | ├──Component1.scss | | ├──Component2.scss | | └── ... │ ├── Component1.jsx │ ├── Component2.jsx │ └── ... ├── /media- Stores main images and logos used in the application. │ ├── image1.jpg │ ├── image2.png │ └── ... ├── /redux- Manages state using Redux and Redux Saga. │ ├── actions- Contains Redux action creators. │ ├── constants- Defines action types and constants. │ ├── reducers- Implements Redux reducers. │ ├── sagas- Manages Redux Sagas for asynchronous actions. │ ├── services- Contains service files for API interactions. │ └── store.js- Configures the Redux store. ├── index.js- Main entry point for React application. └── router.js- Manages all routes within application.

Technologies used (Frontend)

  • React
  • React-Redux
  • Redux Saga {Toolkit}
  • React Router Dom
  • Bootstrap
  • Axios
  • SCSS

Dependencies: "axios": "^1.6.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-redux": "^8.1.3", "react-router-dom": "^6.17.0", "react-scripts": "5.0.1", "react-spinners": "^0.13.8", "redux": "^4.2.1", "redux-saga": "^1.2.3", "sass": "^1.69.5" "react-toastify": "^9.1.3",

Backend (NodeJS & ExpressJS) Database- MongoDB:

Description: The backend of our e-commerce platform, built with the MERN stack, leverages Express.js and Node.js for robust server-side logic. User authentication is reinforced with JWT (JSON Web Tokens) for secure authorization, and bcrypt encryption ensures password protection.

MongoDB Atlas serves as the database, seamlessly interacting with Mongoose for data modeling and query execution. The database stores crucial information, including user accounts, product details, and orders.

Backend API endpoints manage user account operations, order processing, and product management. Our architecture integrates seamlessly with the frontend, facilitating smooth user interactions and real-time updates.

Robust security measures are implemented to safeguard user data integrity and confidentiality. The combination of MongoDB Atlas and Mongoose provides a scalable and performant solution for data storage and retrieval in our e-commerce platform.

Installation & Usage Steps: cd backend-ecommerce npm install npm run dev

Before starting server make your react build in build folder is up to date or not!

Folder Structure: ├── /Controller- Contains API routes functions. │ ├── Product.js │ ├── User.js │ └── ... Files for handling specific API routes. ├── /Model- Contains schema files for database interactions. │ ├── Product.js │ ├── User.js │ └── ... Files defining data models. ├── /Routes- Manages route files. │ ├── Product.js │ ├── User.js │ └── ... Files defining API routes. ├── /build- Static folder containing React build files. │ └── (React Build Files) ├── index.js- Main entry point for the backend server. └── ...

Technologies used (Backend)

  • Node.js
  • Express.js
  • MongoDB Atlas
  • Mongoose
  • JWT (JSON Web Tokens)
  • Bcrypt

Dependencies: "bcrypt": "^5.1.1", "cors": "^2.8.5", "dotenv": "^16.3.1", "express": "^4.18.2", "jsonwebtoken": "^9.0.2", "mongodb": "^6.2.0", "mongoose": "^8.0.0"

About

Built with the MERN stack, our e-commerce app offers dynamic shopping, seamless cart management, and real-time order tracking. Personalized shop pages enhance user engagement and product discovery.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors