Skip to content

BuyBuyBuy is a full-stack shopping app built with Angular, Node.js, and MongoDB. It features user-friendly product browsing, cart management, secure checkout, admin tools for product management, and PDF receipt generation, offering a seamless shopping experience.

License

Notifications You must be signed in to change notification settings

Pirate-Emperor/BuyBuyBuy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BuyBuyBuy: Full-Stack Shopping Application

Overview

BuyBuyBuy is a comprehensive full-stack web application for online shopping, designed using MongoDB, Node.js, and Angular. The platform provides features like user registration, shopping cart management, order processing, and an admin interface for managing products and orders.

Key Features

  • User Functionality:

    • Browse products and add to the shopping cart.
    • Manage user profiles and view order history.
    • Secure checkout process with PDF receipt generation.
  • Admin Functionality:

    • Add, edit, and delete products.
    • Manage user orders and track sales data.

Dependencies

  • Frontend: Angular ^14.2.0
  • Backend: Node.js, Express.js
  • Database: NoSQL database using MongoDB.

Prerequisites

Before running the application, ensure the following are installed:

  • Node.js (v14 or later)
  • MongoDB (latest version)
  • Angular CLI (npm install -g @angular/cli)

Database Setup

Import the database files provided in the Database folder into your MongoDB server. Use the following command for MongoDB shell:

mongoimport --db shopping_db --collection products --file Database/products.json --jsonArray
mongoimport --db shopping_db --collection users --file Database/users.json --jsonArray

Installation Instructions

Clone the Repository

  1. Clone the project and navigate into the directory:

    git clone https://github.com/Pirate-Emperor/BuyBuyBuy.git
    cd BuyBuyBuy

Install Dependencies

  1. Install required dependencies for the Frontend and Backend:

    cd Frontend
    npm install
    cd ../Backend
    npm install

Running the Application

1. Start MongoDB Server

Ensure MongoDB is running on your local machine or a specified host.

2. Launch the Backend

Run the following commands to start the backend server:

cd Backend
npm start

3. Launch the Frontend

Run the frontend application:

cd ../Frontend
npm start

The application will be accessible at:
Frontend: http://localhost:4200/
Backend API: http://localhost:3000/

User Information for Login

Admin Login

  • Username: admin@buybuybuy.com
  • Password: admin123

User Login

  • Username: user@buybuybuy.com
  • Password: user123

Application Screenshots

Home Page

Home Page

User Registration

Register Page

Shopping Page

Shopping Page

Admin Dashboard

Admin Page

Features Highlighted

  • Product Listing: Intuitive display of items with filtering and sorting options.
  • Admin Panel: Easily manage products and orders through a user-friendly interface.
  • PDF Receipt: Automatically generated upon order completion.
  • Responsive Design: Optimized for desktop and mobile devices.

Future Enhancements

  • Integration with third-party payment gateways.
  • Advanced user analytics and order history insights.
  • Multi-language support for a global audience.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Author

Pirate-Emperor

Twitter Discord LinkedIn

Reddit Medium

Thank you for visiting the CipherX project!


For more details, please refer to the GitHub repository.

About

BuyBuyBuy is a full-stack shopping app built with Angular, Node.js, and MongoDB. It features user-friendly product browsing, cart management, secure checkout, admin tools for product management, and PDF receipt generation, offering a seamless shopping experience.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published