How hunnyjain7/rate-shopping works
Project type and purpose
• This is a full-stack rate-shopping application. The backend is implemented in Django 4.2.5 with Django REST Framework (Python 3.10.6) exposing APIs for both Admin and Client interfaces. The frontend is a React (TypeScript) single-page application that consumes those APIs.
File structure
• Top-level folders:
• client, core, subscription, user – each is a Django “app” responsible for a distinct domain (Client management, core utilities, Subscription flows, User management).
• rate_shopping – the Django project root (ASGI/WSGI entry, settings modules: base.py, local.py, prod.py, test.py).
• frontend – React application with public assets, src code (components, services, interfaces).
• Configuration: .env.example, pyproject.toml/requirements.txt, GitHub workflows, pre-commit, flake8.
• Patterns:
• Django apps follow an MVC-like structure: models.py → serializers.py → views.py → urls.py.
• Frontend follows a feature folder structure (Admin, Client, shared components, services).
README for additional insights
• Describes environment setup, migrations, seed command (user/management/commands/seed.py) to pre-populate data.
• Relies on environment variables for DEBUG, DB credentials.