Trivian is a fully functional e-commerce platform built using Django. It supports product browsing, cart functionality, and mock payment integration via Razorpay. The project is developed as part of a college capstone and showcases practical skills in backend, frontend, and payment gateway integration.
- Clean and responsive UI using Bootstrap
- Product catalog with descriptions and images
- Add to cart, update, and remove functionality
- Checkout with Razorpay test mode integration
- Admin panel with enhanced UI using Jazzmin
- MySQL database connectivity
- Modular app structure using Django best practices
| Layer | Tools/Technologies |
|---|---|
| Backend | Python, Django |
| Frontend | HTML, CSS, Bootstrap, FontAwesome |
| Payment | Razorpay (Mock/Test Mode) |
| Database | MySQL |
| Admin UI | Jazzmin |
| Others | Django Templates, ORM, Sessions |
trivian/ ├── prijith_project/ # Django project settings ├── shop/ # Core app for e-commerce logic │ ├── models.py # Models for product, cart, etc. │ ├── views.py # Views and payment logic │ ├── templates/ # HTML templates │ ├── static/ # Static assets ├── static/ # Global static files ├── manage.py # Django project runner
-
Clone the repository git clone https://github.com/yourusername/trivian.git cd trivian
-
Create and activate a virtual environment python -m venv venv venv\Scripts\activate # Windows source venv/bin/activate # macOS/Linux
-
Install the dependencies pip install -r requirements.txt Update MySQL credentials in settings.py
-
Run migrations python manage.py makemigrations python manage.py migrate
-
Create superuser for admin access python manage.py createsuperuser
-
Start the development server python manage.py runserver
1.Add Razorpay test credentials to settings.py: RAZORPAY_KEY_ID = 'your_test_key_id' RAZORPAY_KEY_SECRET = 'your_test_key_secret'
2.Implement payment logic in your checkout_view and handle success in payment_success_view.
Prijith – Final Year CSE Student
tutorejose-Stanley – Project Guide and Mentor
💡 Feel free to fork, contribute, or customize this project for your own learning and development!
Let me know if you want help generating a requirements.txt or adding a clickable demo section with deployment tips.





