Loading repository data…
Loading repository data…
PrAtHaM-0707 / repository
Aureon is a full-stack TypeScript e-commerce platform built with React, Node.js, and MongoDB, featuring JWT authentication, Razorpay payments, shopping cart, order tracking, and an admin dashboard with analytics, all wrapped in a modern Tailwind + ShadCN UI.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A modern, full-stack e-commerce platform built with React, TypeScript, Node.js, and MongoDB. Features user authentication, product catalog, shopping cart, secure payments with Razorpay, and an admin dashboard for management.
npm or yarn package managerClone the repository
git clone https://github.com/PrAtHaM-0707/Aureon.git
cd Aureon
Install Frontend Dependencies
cd frontend
npm install
Install Backend Dependencies
cd ../backend
npm install
Frontend Environment Variables
Create a .env file in the frontend directory:
VITE_API_URL=http://localhost:5000/api
VITE_RAZORPAY_KEY_ID=your_razorpay_key_id
Backend Environment Variables
Create a .env file in the backend directory:
PORT=5000
MONGODB_URI=mongodb://localhost:27017/aureon
JWT_SECRET=your_jwt_secret_key
CLIENT_ORIGIN=http://localhost:5173
RAZORPAY_KEY_ID=your_razorpay_key_id
RAZORPAY_KEY_SECRET=your_razorpay_key_secret
Start MongoDB Make sure MongoDB is running on your system.
Seed the Database
cd backend
npm run seed
Open two separate terminals from the root project directory:
Start the Backend Server
cd backend
npm run dev
Start the Frontend Development Server
cd frontend
npm run dev
The application will be available at:
POST /api/auth/register - User registrationPOST /api/auth/login - User loginPOST /api/auth/forgot-password - Password reset requestGET /api/products - Get all products (with filters)GET /api/products/:id - Get product by IDPOST /api/products - Create product (Admin only)PUT /api/products/:id - Update product (Admin only)DELETE /api/products/:id - Delete product (Admin only)GET /api/orders - Get user's ordersGET /api/orders/:id - Get order by IDPOST /api/orders - Create new orderPUT /api/orders/:id/status - Update order status (Admin only)GET /api/cart - Get user's cartPOST /api/cart - Add item to cartPUT /api/cart/:itemId - Update cart itemDELETE /api/cart/:itemId - Remove item from cartGET /api/admin/dashboard - Dashboard statisticsGET /api/admin/users - Get all usersGET /api/admin/orders - Get all ordersPUT /api/admin/orders/:id - Update order statusGET /api/health - Server keep-alive health checkAureon/
├── .gitignore
├── README.md
├── backend/ # Node.js Express Server
│ ├── src/
│ │ ├── config/ # DB & Redis configurations
│ │ ├── controllers/ # Route controllers
│ │ ├── middleware/ # Auth, validation middlewares
│ │ ├── models/ # Mongoose schemas
│ │ ├── routes/ # API routes
│ │ ├── schemas/ # Validation schemas
│ │ ├── services/ # Business logic & Caching
│ │ ├── types/ # TypeScript definitions
│ │ ├── utils/ # Error handling & logging
│ │ ├── server.ts # Entry point
│ │ └── seed.ts # Database seeding script
│ ├── package.json
│ └── tsconfig.json
└── frontend/ # React + Vite Client
├── public/ # Static assets
├── src/
│ ├── components/ # Reusable UI elements (ShadCN, layout)
│ ├── context/ # React Contexts (Auth, Cart, Admin)
│ ├── hooks/ # Custom React hooks
│ ├── lib/ # Util functions & API config
│ ├── pages/ # Application views & Admin dashboard
│ ├── App.tsx # Root component
│ └── main.tsx # React DOM render entry
├── vercel.json # Deployment routing
├── components.json # ShadCN config
├── tailwind.config.ts # Tailwind styling rules
├── vite.config.ts # Vite bundler config
├── tsconfig.json # TypeScript configuration
└── package.json
./frontend)npm run dev - Start development servernpm run build - Build for productionnpm run preview - Preview production buildnpm run lint - Run ESLint./backend)npm run dev - Start development server with nodemonnpm run build - Build TypeScript to JavaScriptnpm run start - Start production servernpm run seed - Seed database with sample dataThe application uses Razorpay for payment processing:
frontend.npm run buildbackend.npm run start/api/health is advised for Render free tiers).git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the ISC License.