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.
-
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.
- Frontend: Angular
^14.2.0
- Backend: Node.js, Express.js
- Database: NoSQL database using MongoDB.
Before running the application, ensure the following are installed:
- Node.js (v14 or later)
- MongoDB (latest version)
- Angular CLI (
npm install -g @angular/cli
)
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
-
Clone the project and navigate into the directory:
git clone https://github.com/Pirate-Emperor/BuyBuyBuy.git cd BuyBuyBuy
-
Install required dependencies for the Frontend and Backend:
cd Frontend npm install cd ../Backend npm install
Ensure MongoDB is running on your local machine or a specified host.
Run the following commands to start the backend server:
cd Backend
npm start
Run the frontend application:
cd ../Frontend
npm start
The application will be accessible at:
Frontend: http://localhost:4200/
Backend API: http://localhost:3000/
- Username:
admin@buybuybuy.com
- Password:
admin123
- Username:
user@buybuybuy.com
- Password:
user123
- 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.
- Integration with third-party payment gateways.
- Advanced user analytics and order history insights.
- Multi-language support for a global audience.
This project is licensed under the MIT License. See the LICENSE file for details.
Pirate-Emperor
- GitHub: Pirate-Emperor
- Reddit: PirateKingRahul
- Twitter: PirateKingRahul
- Discord: PirateKingRahul
- LinkedIn: PirateKingRahul
- Skype: Join Skype
- Medium: PirateKingRahul
Thank you for visiting the CipherX project!
For more details, please refer to the GitHub repository.