Git Product home page Git Product logo

mern-commerce-client's Introduction

MERN-Commerce Client Repository

This repository contains the client-side code for an e-commerce store built using React and Redux. The client communicates with a Node.js Express API to interact with the backend.

Backend for the project is Here.

Short Introduction Videos:

YouTube YouTube

Features

User authentication:

  • Users can register and log in using their email and password.
  • Users can also authenticate using their Google or Facebook accounts using Passport.js.
  • Authentication is managed using JSON Web Tokens (JWT).

Extensive product filtering:

  • The website provides advanced product filtering options to help users find the products they are looking for easily.

Cart and checkout functionality:

  • Users can add products to their cart and proceed to checkout.
  • The checkout process includes applying coupons and verifying them.
  • SSL Commerz sandbox is used to validate payments securely.

Admin functionality:

  • An admin user can add new products to the store.
  • Admins can also create new product categories to organize the products effectively.
  • Additionally, admins can create coupons with usage limits and validity periods.

Technologies Used

  • React: The client-side framework used to build the user interface.
  • Redux: The state management library used to manage the application's state.
  • JSON Web Tokens (JWT): A secure method for transmitting information between parties as JSON objects.
  • SSL Commerz: A payment gateway for secure online transactions.

Getting Started

To run the MERN-Commerce store locally, follow these steps:

Clone the repository:

git clone https://github.com/shz-code/mern-commerce-client.git

Navigate to the project directory:

cd mern-commerce-client

Install the dependencies:

npm install

Configure the API endpoint:

  • In the project directory, create the .env file
  • Set the VITE_API_URL variable to the URL of your backend API.

Start the development server:

npm run dev

The MERN-Commerce client will be accessible at http://localhost:5173 in your web browser.

Contributing

Contributions to the e-commerce store client repository are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.

When contributing, please adhere to the following guidelines:

  • Fork the repository and create a new branch for your feature or bug fix.
  • Follow the existing coding style and conventions.
  • Provide clear and detailed commit messages.
  • Write tests for any new functionality and ensure existing tests pass.

License

The MERN-Commerce client repository is licensed under the MIT License. Feel free to use and modify the code for your own purposes.

mern-commerce-client's People

Contributors

shz-code avatar

Stargazers

 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.