How sainisahab786/cerebulb_inventory_management_system works
Project type and purpose
• This is a full-stack web application built with Django and Django REST Framework.
• Purpose: Manage products and stock levels via HTML views and a token-secured REST API.
File structure
• Top-level:
• README.md, requirements.txt, manage.py
• inventory_management/ (Django project settings & deployment files)
• inventory_management/inventory/ (Django “inventory” app)
• db.sqlite3 (SQLite database)
• inventory app layering:
• models.py (data layer)
• serializers.py (API schema)
• forms.py (HTML form bindings)
• views.py (HTTP & API endpoints)
• templates/ + static/ (presentation layer)
• admin.py (Django admin integration)
• migrations/ (schema evolution)
• urls.py (app routing)
• Project-level:
• settings.py, urls.py, wsgi.py, asgi.py – global routing, middleware, apps registration
README for additional insights
• Lists core features: authentication, product CRUD, stock management, reporting, RESTful API.
• Documents API endpoints and token-based auth.
Detail without over-splitting
• Logical component (router, view, form/serializer, model, DB)
• Both HTML and API flows
• Endpoints (e.g., /inventory/api/products/, /api-token-auth/)