Skip to content

"I've developed the back-end for a honey store web app, integrating Google OAuth for secure logins. The system includes robust authentication, seamless product addition, and a cart database, ensuring a smooth shopping experience for users.

Notifications You must be signed in to change notification settings

GauravRana12/honey-store-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Honey Store: A Web Application for Managing Honey Sales

Welcome to the Honey Store, a web application built using Express.js, MongoDB, Mongoose, Google OAuth, and bcrypt. This application allows users to create accounts, browse and purchase honey products, and manage their orders.

Key Features:

  • User Authentication: Users can create accounts and securely log in using Google OAuth.
  • Product Management: Admins can add, edit, and delete honey products, including their descriptions, prices, and images.
  • Order Management: Users can place orders for honey products, track their order status, and view their order history.

Technologies Used:

  • Express.js: A Node.js framework for building web applications.
  • MongoDB: A NoSQL database for storing application data.
  • Mongoose: An object data modeling (ODM) library for MongoDB.
  • Google OAuth: An authentication protocol for securely logging in users using their Google accounts.
  • bcrypt: A password hashing library for secure password storage.

Installation:

  1. Clone the project repository:
git clone https://github.com/YOUR_USERNAME/honey-store-web-app.git
  1. Install project dependencies:
npm install
  1. Create a .env file and add the following environment variables:
DB_URI=<your MongoDB connection URI>
GOOGLE_OAUTH_CLIENT_ID=<your Google OAuth client ID>
GOOGLE_OAUTH_CLIENT_SECRET=<your Google OAuth client secret>
  1. Start the application:
npm start

Usage:

  1. Open the application in your web browser:
http://localhost:3000
  1. Create a user account using Google OAuth.
  2. Browse and purchase honey products.
  3. Manage your orders from your account dashboard.

About

"I've developed the back-end for a honey store web app, integrating Google OAuth for secure logins. The system includes robust authentication, seamless product addition, and a cart database, ensuring a smooth shopping experience for users.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published