MinavKaria / Ratna-Supermarket

Ratna Supermarket is an online shopping platform offering a seamless and secure shopping experience. Users can browse a variety of products, manage their carts, place orders, and track purchases, all through an intuitive, responsive interface.

Home Page:https://ratna-supermaket.minavkaria.xyz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ›’ Ratna Supermarket

Welcome to Ratna Supermarket – an online shopping platform that delivers a complete and seamless e-commerce experience. From product browsing to order management, this project simulates a fully functional online store with an intuitive interface.


Open Source Maintained MIT License Contributors GitHub Stars GitHub Forks GitHub Issues


✨ Project Overview

Ratna Supermarket is designed to provide users with a real-world shopping experience. It includes essential features such as product listings, cart management, user authentication, and order processing. Developed as part of a college project, it showcases a fully-fledged e-commerce platform using modern web development tools.

Our Objective is to create a user-friendly and responsive online shopping platform that allows customers to explore, add products to their cart, and place orders effortlessly.

🌐 Live Demo: Ratna Supermarket

πŸ”₯ Features

  • πŸ›’ Product Management: Users can browse, search, and filter products by categories.
  • πŸ›οΈ Cart System: Add or remove products, adjust quantities, and view the total price in the cart.
  • πŸ”‘ User Authentication: Secure login, sign-up, and logout functionalities.
  • πŸ’Έ Order Management: Place and manage orders, track purchase history.
  • πŸ‘€ Admin Dashboard: Admin can manage products, users, and orders (admin-specific features).
  • πŸ“± Responsive Design: Optimized for mobile, tablet, and desktop devices.

πŸ› οΈ Tech Stack

  • Frontend: React.js, Tailwind CSS
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Hosting: Firebase

πŸš€ Getting Started

Follow these steps to set up and run the Ratna Supermarket project on your local machine:

Prerequisites

Ensure that the following software is installed on your system:

πŸ“¦ Installation

To set up the Ratna Supermarket project on your local machine, follow these detailed instructions for both the frontend and backend.

πŸ”§ Frontend Setup

  1. Fork the Repository:
    Go to the Ratna Supermarket GitHub repository and click the "Fork" button in the top-right corner to create your own copy.

  2. Clone the Repository:
    Clone your forked repository to your local machine:

    git clone https://github.com/yourusername/Ratna-Supermarket.git
  3. Navigate to the Project Directory:
    Change your directory to the cloned project folder:

    cd Ratna-Supermarket
    cd client
  4. Install Frontend Dependencies:
    Run the following command to install all necessary frontend dependencies:

    npm install
  5. Start the Frontend Development Server:
    Launch the frontend in development mode by running:

    npm run dev
  6. Open the App:
    Open your browser and visit http://localhost:5173 to see the app in action.

πŸ› οΈ Backend Setup

  1. Navigate to the Backend Directory:
    Change your directory to the backend folder:

    cd ../server
  2. Install Backend Dependencies:
    Install the necessary backend dependencies:

    npm install
  3. Set Up Environment Variables:
    Create or edit the .env file in the backend directory with the following variables:

    MONGO_URI=<your-mongodb-connection-string>
    DB_NAME=<your-database-name>
  4. Start the Backend Server:
    Launch the backend server:

    node server.js

🐍 Running py_server Files

Ensure you have the following installed:

Start the Backend Server:
Launch the backend server:

python backend.py

Folder Structure πŸ“‚

Ratna-Supermarket/
β”œβ”€β”€ client/ # React frontend application
β”‚   β”œβ”€β”€ src/ # React components and files
β”‚   β”œβ”€β”€ public/ # Public static files
β”‚   β”œβ”€β”€ package.json # Frontend dependencies
β”‚   └── vite.config.js # Vite configuration file
β”œβ”€β”€ server/ # Backend Node.js application
β”‚   β”œβ”€β”€ server.js # Main server file
β”‚   β”œβ”€β”€ .env # Environment configuration (not included in repo)
β”‚   β”œβ”€β”€ package.json # Backend dependencies
β”‚   └── ... # Other backend files
β”œβ”€β”€ README.md # This file
└── ...


πŸ“œ Contributing

We welcome contributions from the community! To contribute, please check out our CONTRIBUTING.md and CODE_OF_CONDUCT.md to understand the guidelines.

Quick Guide:

  1. Fork and clone the repository.
  2. Create a new branch for your feature/bug fix.
  3. Make your changes and test them.
  4. Submit a pull request for review.

For more details, refer to the CONTRIBUTING.md file.


🀝 Open Source Programs

This project is part of GirlScript Summer of Code 2024 (GSSoC) Extended, an initiative to help aspiring developers get involved in the open-source community.

This project is also part of Hacktoberfest 2024. We encourage participants to contribute and improve the project during this event. Let’s make open source accessible and fun for everyone!



Project Admin ⚑

Minav

Contributors

We extend our heartfelt gratitude for your invaluable contribution to our project! Your efforts play a pivotal role in elevating Ratna-Supermarket to greater heights.

Back To Top

About

Ratna Supermarket is an online shopping platform offering a seamless and secure shopping experience. Users can browse a variety of products, manage their carts, place orders, and track purchases, all through an intuitive, responsive interface.

https://ratna-supermaket.minavkaria.xyz/


Languages

Language:JavaScript 94.3%Language:CSS 4.0%Language:Python 1.2%Language:HTML 0.5%