Skip to content

MERN Stack technology is used in this application. Users and managers are assigned different roles. After creating an account, the user can login, view products, add them to their cart, and check the status of their order. When the manager is logged in, he can update orders, add products to the store, and edit them.

Notifications You must be signed in to change notification settings

tarun-upadhyay/techEagle_FullStack_Assingment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌐 MERN Stack App

MongoDB, Expressjs, React/Redux, Nodejs

MERN app,Tech Stacks-> MongoDB, Expressjs, React/Redux, TailwindCss, Github, Nodejs.

If the web-app is not responsing, please wait and reload. This may occur due to Cyclic's free version not responding.

Credential of Manager

email: manager@techeagle.com
password: manager123

Tech Eagle Full Stack Coding Assignment.


This Ecommerce Website project represents a robust platform that integrates backend and frontend technologies to offer a seamless online shopping experience. Leveraging Node.js for the backend, React.js for the frontend, and MongoDB for the database, this application encompasses a comprehensive set of functionalities catering to both customers and managers.


Requirements

  • For development, you will only need Node.js and a node global package, NPM, installed in your environement.

Clone or Download

$ git clone https://github.com/tarun-upadhyay/techEagle_FullStack_Assingment.git
$ yarn # or npm i

Project structure

frontend
    - package.json
    - src
        - index.js
        - App.jsx
     - Components
     - Pages
         ---
backend
    - package.json
    - app.js
    - controller
        - authController.js
        - allother controles..
    - DB
       - db.config.js
...

Client-side usage(PORT: 3000)

$ cd frontend          // go to frontend folder
$ yarn # or npm i     // npm install packages
$ npm start          // run it locally

Server-side usage(PORT: 5000 || 8080)

$ cd backend          // go to client folder
$ yarn # or npm i    // npm install packages
$ npm start        // run it locally

Prepare your secret

  • Inside ->.env
  • MONGO_URI
  • JWT_SECRET
  • JWT_LIFETIME

Features.

We have created this application for two different types of users such as Manager and customer.

Customer

  • Homepage of Customer's website

    Alt text

  1. The website provides product information along with price information.

    Alt text

  2. Detailed description of the product

    Alt text

  3. For adding to cart we have to login first or signup first.

    Alt text
    Alt text

  4. If we logined successfully so We will get the name of top right corner

    Alt text

  5. Suppose you logined successfully and you are adding to your cart then you get pop.

    Alt text

  6. If already present inside your cart then you will get errror message

    Alt text

  7. Come to Cart section if you cart is empty you will see like this

    Alt text
    and have some stuff inside it.

    Alt text here you can increase quantity or delete it.

    Alt text

  8. Now it's time to place your order simply click on place order button.

    Alt text

  9. This is the order page which show case the all ordered items and their status.

Alt text Alt text 10. The order status will change when mangaer accepts it, suppose it accepted or changed status.

Alt text

The features I showed are for customers, if products do not load or orders do not appear, please wait for a few minutes. It's a cyclical issue that will be resolved after some time.


Manager

Only role manager can access this page or api-end points.

  1. This page shows the Manager' store status

Alt text

  1. Here Manager can manage the order status just clicking on update status.

Alt text Alt text 3. Inside all products section have two button to manage the products. Alt text 4. After clicking on the edit button, you will be redirected to the edit page, which will contain the old product details, and you can update the product by clicking on the update product button.

Alt text 5. Add product section to adding new product to the store.

Alt text

  1. For deleting just simply click on delete button it will first confirm you are sure or not Alt text

If deleted successfully

Alt text


Thank you for your time

  • Thank you for using this application
  • Feel free to ask any query.

My Github https://github.com/tarun-upadhyay

My Portfolio https://tarun-upadhyay.github.io/

Email ME


About

MERN Stack technology is used in this application. Users and managers are assigned different roles. After creating an account, the user can login, view products, add them to their cart, and check the status of their order. When the manager is logged in, he can update orders, add products to the store, and edit them.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published