Skip to content

Welcome to the Gadget Store, a sleek and modern e-commerce web application built with the powerful MERN (MongoDB, Express.js, React, Node.js) stack. This project, crafted by a talented developer, brings a seamless online shopping experience for tech enthusiasts and gadget lovers. It has user authentication and uses JWTs to verify users.

Notifications You must be signed in to change notification settings

sethshivam11/gadgetstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This project is all about an ecommerce store which sells gadgets. This project was made by Shivam Soni by using MERN Stack by using Vite. It stores user login data and stores it in MongoDB by hashing the password using bcyptjs. On login user is provided with a token which is saved in localstorage of the user. User's can update their details if they want and it displays the user's transactions, orders, saved addresses which is saved in the DB.

To build the project

npm run build

To run the project

npm start

Environment variables

  1. PORT - The web app runs on this port

  2. NODE_ENV - Shows users a message if it is not in production mode

  3. MONGODB_URI - This is the MongoDB atlas url where the DB is located and data is saved

  4. VITE_HOST - This tells the website on which url it is deployed

  5. JWT_SECRET - This is a secret message for jsonwebtoken to be sent to user and will be verified

Dependenies

  1. bcryptjs - This is used to hash the password input by the user

  2. dotenv - This stores secret details such as environment variables

  3. express - This is the server on which the backend is made

  4. express-validator - This verifies that entries by the user are in a valid format

  5. jsonwebtoken - This provides user a unique token so that they doesn't have to login again and again

  6. mongoose - This is used to connect the backend to the MongoDB

  7. vite - This is a frontend tool to enhance development experience

About

Welcome to the Gadget Store, a sleek and modern e-commerce web application built with the powerful MERN (MongoDB, Express.js, React, Node.js) stack. This project, crafted by a talented developer, brings a seamless online shopping experience for tech enthusiasts and gadget lovers. It has user authentication and uses JWTs to verify users.

Topics

Resources

Stars

Watchers

Forks