Giter Club home page Giter Club logo

usmanmern / ecommerce-mern Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.38 MB

This repository contains the code for an eCommerce web application built using Bootstrap, SCSS, React, MongoDB, Express, and Node.js. The application consists of both client-side and server-side components, with separate dashboards for users and administrators.

Home Page: https://trendblend.netlify.app/

HTML 0.96% JavaScript 96.28% SCSS 2.76%
api-rest axios backend bootstarp5 client-server ecommerce-application ecommerce-website express express-js frontend

ecommerce-mern's Introduction

ecommerce-mern

This repository contains the code for an eCommerce web application built using Bootstrap, SCSS, React, MongoDB, Express, and Node.js. The application consists of both client-side and server-side components, with separate dashboards for users and administrators.

Features

  • User Dashboard:

    • Order details: Users can view their order history and track the status of their orders.
    • Cart functionality: Users can add items to their cart, update quantities, and proceed to checkout.
    • Account management: Users can manage their profile information and update their personal details.
  • Admin Dashboard:

    • Order management: Administrators can view and manage all orders placed by users.
    • Product management: Administrators can add, edit, and delete products available for sale.
    • User management: Administrators can manage user accounts, including creating new users and modifying existing ones.
    • Category management: Administrators can manage product categories, including creating new categories and modifying existing ones.

Installation

  1. Clone the repository:

    git clone https://github.com/Usman8531/ecommerce-mern
    
  2. Navigate to the project directory:

    cd ecommerce-mern
    
  3. Install the dependencies:

    npm install
    
  4. Start the development server:

    npm start
    

    The client-side React application will be accessible at http://localhost:3000, and the server will run on http://localhost:5000.

  5. Configure MongoDB:

    • Ensure that you have MongoDB installed and running on your machine.
    • Update the MongoDB connection string in the server configuration file (server/config.js).

Technologies Used

  • Frontend:

    • Bootstrap: A popular CSS framework for building responsive and mobile-first websites.
    • SCSS: A preprocessor that extends the capabilities of CSS with variables, mixins, and more.
    • React: A JavaScript library for building user interfaces.
    • Ant Design (antd): A UI library for React that provides a set of high-quality and customizable components for building modern web applications.
  • Backend:

    • MongoDB: A NoSQL document database used for storing application data.
    • Express: A web application framework for Node.js.
    • Node.js: A JavaScript runtime for building scalable server-side applications.

Folder Structure

The repository has the following structure:

ecommerce-mern/
  ├── client/                # Client-side code
  │   ├── public/            # Public assets
  │   └── src/               # Source code
  │       ├── components/    # React components
  │       ├── pages/         # Application pages
  │       ├── services/      # API service functions
  │       └── styles/        # SCSS stylesheets
  ├── server/                # Server-side code
  │   ├── config/            # Server configuration
  │   ├── controllers/       # Request handlers
  │   ├── models/            # Database models
  │   ├── routes/            # API routes
  │   └── app.js             # Express app configuration
  ├── .gitignore             # Git ignore file
  ├── package.json           # NPM package configuration
  └── README.md              # Project documentation

Contributing

Contributions to this project are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.

Deployed Website

The eCommerce web application has been successfully deployed and is accessible at https://trendblend.netlify.app/. You can visit the website to explore its

features and functionalities.

Feel free to reach out if you have any questions or feedback regarding the deployed website.

Acknowledgements

This project was customized and contributed by Usman8531.

ecommerce-mern's People

Contributors

usmanmern avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.