Skip to content

shadowofleaf96/GreenVille

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

GreenVille Ecommerce Shop Project

GreenVille Logo

Welcome to GreenVille, an open-source MERN (MongoDB, Express.js, React.js, Node.js) stack ecommerce shop project. GreenVille is designed to provide a foundation for building a robust and scalable online bio Organic store. Whether you're a developer looking to learn MERN stack or an entrepreneur planning to kickstart your ecommerce venture, GreenVille is a great starting point.

GreenVille is a bio-organic eCommerce store that offers eco-friendly products, connecting customers with sustainable options. Built using modern web technologies, it focuses on providing an intuitive shopping experience for organic goods. The project includes features like inventory management, secure payment options, and a user-friendly interface, designed to promote green living.

Table of Contents

Features

  • User Authentication: Secure user authentication and authorization. (Completed)
  • Product Management: Easily manage products, categories, subcategories. (Completed)
  • Shopping Cart: Intuitive shopping cart functionality for users. (Completed)
  • Payment Integration: Seamless integration with popular payment gateways (Cash on delivery, Paypal, Stripe). (Completed)
  • Order Management: Track and manage customer orders efficiently. (Completed)
  • Responsive Design: Mobile-friendly and responsive UI for a great user experience. (In Progress)

Getting Started

Prerequisites

Make sure you have the following installed on your machine:

Installation

  1. Clone the repository:

    git clone https://github.com/shadowofleaf96/GreenVille-Ecommerce_Final_Project.git
  2. Change into the project directory:

    cd GreenVille
  3. Install server dependencies:

    cd server
    npm install
  4. Install client dependencies:

    cd client
    npm install
  5. Create a .env file in the project root and configure your environment variables:

    VITE_PORT = 3000
    VITE_SECRETKEY = your token secret key
    VITE_REFRESHSECRETLEY = your refresh token secret token
    VITE_STMPHOST = Mailtrap host
    VITE_STMPUSER = Mailtrap username
    VITE_URLFRONTEND = localhost:5173 
    VITE_URLBACKEND = localhost:3000
    VITE_STMPASS = Mailtrap password
    VITE_SENDER = your email
    VITE_EXPIRATIONDATE = 120000 (you can change this)
    VITE_MONGOOSE = MongoDB atlas db link
  6. Start the development server:

    cd client
    npm run dev
    open another terminal window
    cd server
    npx nodemon

Usage

Client:

  1. Create an Account: Register for a new account on the GreenVille website.
  2. Explore Products: Browse through the available products and categories.
  3. Add to Cart: Add desired products to your shopping cart.
  4. Proceed to Checkout: Complete the purchase by providing necessary details.
  5. Manage Orders: View and manage your order history. Admin:
  6. Analytics: See sales and revenues data through dashboard.
  7. Add Products: Add Product from the admin menu.
  8. Add Users: Add admins or managers.
  9. Add Categories and Subcategories: Add Categories and Subcategories.
  10. Edit and remove existant Infos: .

Contributing

We welcome contributions from the community. If you find any bugs or have suggestions for improvement, please open an issue or submit a pull request.

About

GreenVille - Bio-organic eCommerce store

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages