This repository contains the source code for mg_one, an e-commerce web application. The project is structured as a Django-based backend with several service-specific modules for SMS, payments, stock management, and more.
- Product catalogue and item attribution
- Location-based inventory and warehouse management
- SMS notification services (Twilio and Fast2SMS integration)
- Payment gateway integration (RazorPay)
- Admin and RESTful API support
- Modular, extensible architecture
-
baseServer/
Core server logic and setup (directory content undiscovered). -
fast2sms/
Integration and utilities for Fast2SMS (directory content undiscovered). -
itemAttribution/
Product and item attribute management (directory content undiscovered). -
locationHierarchy/
Handles location models, admin, migrations, and views for organizing inventory by location.admin.py
- Django admin configurationapps.py
- App configurationmodels.py
- Location modelstests.py
- Testsviews.py
- Views/endpointsmigrations/
- DB migrations
-
locationItem/
Inventory items per location (directory content undiscovered). -
mgOne/
Project settings and core Django configuration (directory content undiscovered). -
razorPayService/
RazorPay payment gateway integration.admin.py
,apps.py
,models.py
,tests.py
,views.py
migrations/
- DB migrations
-
static/
Static files for admin and API docs.admin/
- Django admin static filesrest_framework/
- DRF static files
-
stockWarehouse/
Warehouse stock management (directory content undiscovered). -
twilioService/
Twilio SMS integration.admin.py
,apps.py
,models.py
,service.py
,tests.py
,views.py
migrations/
- DB migrations
-
manage.py
Django project management script -
db.sqlite3
SQLite database (for development) -
requirements.txt
Python/Django dependencies -
Procfile
andRuntime.txt
Deployment configuration (e.g., Heroku)
-
Clone the repo:
git clone https://github.com/vishnu96ray/mg_one.git cd mg_one
-
Install dependencies:
pip install -r requirements.txt
-
Run migrations:
python manage.py migrate
-
Start the development server:
python manage.py runserver
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
MIT (if applicable)
Note: Some directories lack discovered files in this summary. For details, explore each folder in the repository.