Coder Social home page Coder Social logo

indextbag / node-react-ecommerce Goto Github PK

View Code? Open in Web Editor NEW

This project forked from basir/node-react-ecommerce

0.0 0.0 0.0 173 KB

Build ECommerce Website Like Amazon By React & Node & MongoDB

Home Page: https://node-react-ecommerce-app.herokuapp.com/

HTML 6.40% CSS 10.82% JavaScript 82.78%

node-react-ecommerce's Introduction

React & Node Tutorial - Full ECommerce in 5 Hours [2020]

Welcome to my React and Node tutorial to build a fully-functional e-commerce website in 5 hours. Open your code editor and follow me for the next hours to build an e-commerce website using React and Node.JS.

Demo Website

๐Ÿ‘‰ Demo : https://node-react-ecommerce-app.herokuapp.com

Video Tutorial

๐Ÿ‘‰ Click on this image to watch full 5-hours video of this tutorial

IMAGE ALT TEXT HERE

You Will Learn

  • HTML5 and CSS3: Semantic Elements, CSS Grid, Flexbox
  • React: Components, Props, Events, Hooks, Router, Axios
  • Redux: Store, Reducers, Actions
  • Node & Express: Web API, Body Parser, File Upload, JWT
  • MongoDB: Mongoose, Aggregation
  • Development: ESLint, Babel, Git, Github,
  • Deployment: Heroku
  • Watch React & Node Tutorial

It gives you an overview of the tutorial to build an eCommerce website like Amazon.

You need to install a code editor and a web browser to start web development. In this part, we will prepare the environment to start coding.

In this part, you create a web template for the eCommerce website. Alt Text

We will create a list of products as static HTML elements.

We will create a hamburger menu that shows and hide the sidebar. Also, we design the details page of the products. Alt Text

This part is about the frontend. We use React library to build the UI elements.

This is the home page of e-commerce. It shows a list of products. Alt Text

When the user clicks on a product there should a page to show details about that product. This lesson is all about making an attractive details page. Alt Text

This part is about Node and Express. They are the popular framework to create a web server using JavaScript language. We will create a MongoDB database and save and retrieve the admin user.

In this lesson, we use React Hooks to fetch data from the server. We use the axios library to do this job in a modern async/await style.

When it comes to handling multiple forms with their data nothing is better than state management. We use Redux in this lesson to handle complex state and keep the app behavior predictable.

In this part, we move the details page state to Redux. First, we create reducers then define actions and connect them to the details component.

Shopping Cart is the heart of any e-commerce website. We focus on creating a user-friendly shopping cart using React and Redux. Alt Text

This lesson is about persisting data on the MongoDB database. We use mongoose package to create models and save and retrieve data from the database.

We need to register the user before redirecting them to the checkout. In this part, we will create forms for getting user info and save them in the database. Alt Text

Admin should be able to define products and update the count in stock whenever they like. This page is about managing ECommerce products. Alt Text

In this part, we implement the checkout wizard including sign in, shipping info, payment method, and place order. Alt Text

Summary

In this tutorial, we have made an eCommerce website like Amazon. Feel free to change this project based on your needs and add it to your portfolio. Also, I will love to hear your comment about this React and Node tutorial. Please share your thoughts here.

node-react-ecommerce's People

Contributors

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