Sabras is a comprehensive full-stack e-commerce application designed to facilitate seamless online shopping experiences. The platform offers robust functionalities for both users and administrators, ensuring efficient product management and secure transactions.
- Admin Panel
- User Panel
- Admin Panel
- JWT Authentication
- Password Hashing with Bcrypt
- Stripe Payment Integration
- Login/Signup
- Logout
- Add to Cart
- Place Order
- Order Management
- Products Management
- Filter Products
- Login/Signup
- Authenticated APIs
- REST APIs
- Role-Based Identification
- Beautiful Alerts
Clone the project
git clone https://github.com/hemaxpatel/Sabras.gitInstall dependencies (frontend)
cd frontend
npm installStart the Frontend server
npm run devInstall dependencies (backend)
cd backend
npm installStart the Backend server
npm run serverInstall dependencies (admin)
cd admin
npm installStart the Admin server
npm run devMake .env file in "backend" folder and store environment Variables
JWT_SECRET=YOUR_SECRET_TEXT
SALT=10
MONGO_URL=YOUR_DATABASE_URL
STRIPE_SECRET_KEY=YOUR_KEY
PORT=4000Setup the Frontend and Backend URL
-
App.jsx in Admin folder const url = YOUR_BACKEND_URL
-
StoreContext.js in Frontend folder const url = YOUR_BACKEND_URL
-
orderController in Backend folder const frontend_url = YOUR_FRONTEND_URL




