GithubHelp home page GithubHelp logo

khadem-mh / shoppingcart Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 2.27 MB

A beautiful shopping cart that uses useContext to connect all data together with React JS and Express.

License: MIT License

JavaScript 93.91% HTML 2.81% CSS 3.29%
cart exprees js product react shop shopping shoppingcart

shoppingcart's Introduction

Hi ๐Ÿ‘‹ I'm an expert on React Js ๐Ÿ‘จโ€๐Ÿ’ป Next JS

Description Project

  • A beautiful shopping cart that uses useContext to connect all data together with React JS and Express.

  • A great and good project to understand the concept of useContext

  • Fully responsive in every dimension

  • With the ability to addุŒ removeุŒ or removeุŒ add up a number of purchases of one product and all products and order the product.

Languages

Packages

Development Environment

View of the project

view

Getting Started

First of all, you need to have the Node.Js installed on your system before you see these links.

node js

Before running the project, you need to have npm installed on your system, then you can set the following commands in the project path.

If you have node.js installed it will automatically install npm

We used mongoDB database in this project before running the project, if you do not have it installed on your system, refer to this link

mongoDB

After ensuring the installation of the mentioned items, enter the following commands in the direction of the project.

Step-1

Open a new terminal on the main path of the project and then enter this command

cd backend

Then install the corresponding packages with the following command

backend > npm i

After installing the packages, enter the following command to run the project backend

backend > npm start

Step-2

Open a new terminal on the main path of the project and then enter this command

cd frontend

Then install the corresponding packages with the following command

frontend > npm i

After installing the packages, enter the following command to run the project backend

frontend > npm run dev

Step-3

Runs the app in the development mode.
Open http://localhost:5173 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.


Social Network

shoppingcart's People

Contributors

khadem-mh avatar

Stargazers

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