Code Monkey home page Code Monkey logo

boonchai87 / shopping-cart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ajith101/shopping-cart

0.0 0.0 0.0 96 KB

MERN eCommerce Shopping Cart is a modern web application following the Model-View-Controller (MVC) pattern. It's built on the MERN stack and provides a user-friendly shopping experience. Features include secure authentication,.....

Home Page: https://shopping-cart-new-one.vercel.app/

JavaScript 95.22% CSS 3.97% HTML 0.82%

shopping-cart's Introduction

MERN eCommerce Shopping Cart

This is a MERN (MongoDB, Express.js, React, Node.js) eCommerce shopping cart project that allows users to browse products online. It includes features like user authentication, cart management.

pc1 pc6

Table of Contents

  1. Demo
  2. Features
  3. Technologies Used
  4. Installation
  5. Screenshot

Demo

You can check out a live demo of this project here.

Features

  • User authentication (signup, login, logout).
  • Form validation using
  • Add products to the shopping cart.
  • Manage the shopping cart (add, remove, update items).
  • Product detail page.

Technologies Used

  • Frontend:

    • React: A JavaScript library for building user interfaces.
    • Zustand: A state management library for managing application state with simplicity.
    • Tailwind: A CSS framework for responsive and modern UI design.
    • Axios: A popular JavaScript library for making HTTP requests.
    • Formik - For handling forms and form validation.
    • Yup - For schema validation with Formik.
    • React-Toastify - For displaying toast notifications in the application.
    • React-Icons - For including icons in the user interface.
  • Backend:

    • Node.js: A server-side JavaScript runtime environment.
    • Express: A web application framework for Node.js.
    • Cors: A middleware for enabling Cross-Origin Resource Sharing.
    • Dotenv: A module for loading environment variables from a .env file.
    • nodemon - For automatically restarting the server during development.
    • bcrypt - For hashing and securing passwords.
    • cookie-parser - For parsing cookies in HTTP requests.
    • cors - For handling Cross-Origin Resource Sharing.
    • jsonwebtoken - For generating and verifying JSON Web Tokens for user authentication.

Installation

  • Clone the repository from GitHub.
  • Install Node.js and MongoDB on your system if you haven't already.
  • Run
npm install

in the root directory to install the required dependencies.

  • Configure the MongoDB connection string in the server configuration file.
  • Run
npm run dev

start to start the development server.

Screenshot

pc2 pc3 pc4 pc5 pc7 pc8 mobile (4) mobile (5) mobile (6) mobile (7)

shopping-cart's People

Contributors

ajith101 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.