This is an E-Commerce Website with Sales Prediction using GRU-Based Neural Networks powered by Brain.js. The platform enables customers to purchase office hardware, furniture, and supplies from 1618 Office Warehouse, featuring secure checkout options.
- User registration and login with role-based access (customer/admin)
- Product catalog with advanced filters (category, brand, price, etc.)
- Email notifications for order confirmation and updates using Nodemailer
- Admin dashboard for product, customer, and order management
- Real-time product availability
- Sales and customer analytics with predictive insights using historical sales data
- Bulk order support for office supplies
- Wishlist functionality for saving preferred products
- Frontend:
- React 19
- Shadcn/UI components for modern UI
- Tailwind CSS for styling
- React Router for navigation
- Recharts for data visualization
- Backend:
- Node.js with Express.js
- GRU-based sales prediction using Brain.js for historical sales analysis and next-sequence forecasting
- RESTful API architecture
- Nodemailer for email notifications
- Heroku Postgres for database hosting
- Heroku Scheduler for automated tasks
- Cloudinary for image management
- Database:
- PostgreSQL
- Node.js (v14 or higher)
- npm
- Backend server running (refer to the backend setup guide)
-
Clone the repository:
git clone <repository-url> cd e-commerce-sales-prediction-frontend
-
Install dependencies:
npm install
-
Create a
.envfile in the root directory and configure the following environment variables:VITE_API_URL=youripaddress
-
Start the development server:
npm start
-
Open your browser and navigate to
http://localhost:3000.
To build the project for production, run:
npm run buildThe production-ready files will be available in the build/ directory.
- Deploy the
build/directory to a static hosting service like Netlify, Vercel, or AWS S3. - Ensure the backend API is accessible from the deployed frontend.
The backend for this project is available at:
https://github.com/batdimoiprint/e-commerce-sales-prediction-backend
This project is licensed under the MIT License. See the LICENSE file for details.
