https://github.com/paraspatil11/bagify
Bagify is an e-commerce platform for managing products, users, and orders.
https://github.com/paraspatil11/bagify
ecommerce expressjs fullstack jwt-authentication mongodb nodejs rest-api tailwindcss
Last synced: 3 months ago
JSON representation
Bagify is an e-commerce platform for managing products, users, and orders.
- Host: GitHub
- URL: https://github.com/paraspatil11/bagify
- Owner: paraspatil11
- License: apache-2.0
- Created: 2025-03-23T19:31:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-23T19:56:42.000Z (over 1 year ago)
- Last Synced: 2025-03-23T20:33:25.532Z (over 1 year ago)
- Topics: ecommerce, expressjs, fullstack, jwt-authentication, mongodb, nodejs, rest-api, tailwindcss
- Language: EJS
- Homepage:
- Size: 516 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bagify
Bagify is a full-stack e-commerce web application designed to provide a seamless shopping experience. It allows users to browse products, manage their accounts, and add items to their cart. The platform also includes features for admin/owner management, product creation, and user authentication.
## Features
- User Authentication: Secure login and registration using JWT-based authentication.
- Account Management: Users can view their account details and cart items.
- Shopping Cart: Add products to the cart and view them in the "My Account" section.
- Admin Panel: Admins can create and manage products.
- Responsive Design: Built with Tailwind CSS for a modern and responsive UI.
- Flash Messages: Provides feedback for actions like login, logout, and product creation.
## Tech Stack
- Frontend: EJS (Embedded JavaScript Templates), Tailwind CSS
- Backend: Node.js, Express.js
- Database: MongoDB with Mongoose
- Authentication: JWT (JSON Web Tokens)
- Session Management: Express-session and connect-flash for flash messages
## Installation
To get started with Bagify, follow these steps:
1. **Clone the repository:**
```bash
git clone https://github.com/paraspatil11/Bagify.git
```
2. **Navigate to the project directory:**
```bash
cd Bagify
```
3. **Install dependencies:**
```bash
npm install
```
4. **Set up environment variables:**
```bash
MONGODB_URI=your-mongodb-uri
JWT_KEY=your-jwt-secret
EXPRESS_SESSION_SECRET=your-session-secret
NODE_ENV=development
```
5. **Start the application:**
```
npx nodemon app.js
```
6. **Open the application in your browser:**
```
http://localhost:3000
```
### Users:
- Register and log in to access their account.
- View account details and cart items in the "My Account" section.
- Add products to the cart from the shop page.
### Admins:
- Access the admin panel to create and manage products.