{"id":26028585,"url":"https://github.com/madhavgiga1/kojo-backend","last_synced_at":"2026-04-13T03:02:41.648Z","repository":{"id":274677186,"uuid":"921837482","full_name":"Madhavgiga1/Kojo-Backend","owner":"Madhavgiga1","description":"Python based backend for Kojo app that uses Django, PostgreSQL, Redis, Docker, Kafka, Nginx, uWSGI,   and Kubernetes","archived":false,"fork":false,"pushed_at":"2025-03-17T07:42:00.000Z","size":131,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-12T15:39:47.567Z","etag":null,"topics":["django","django-rest-framework","docker","docker-compose","kubernetes-deployment","nginx","nginx-proxy","postgresql","python","uwsgi-nginx"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Madhavgiga1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-24T17:56:30.000Z","updated_at":"2025-04-06T18:16:21.000Z","dependencies_parsed_at":"2025-02-19T19:21:58.317Z","dependency_job_id":"a778a86d-788d-4ba1-a727-65b73373df18","html_url":"https://github.com/Madhavgiga1/Kojo-Backend","commit_stats":null,"previous_names":["madhavgiga1/kojo-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Madhavgiga1/Kojo-Backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Madhavgiga1%2FKojo-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Madhavgiga1%2FKojo-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Madhavgiga1%2FKojo-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Madhavgiga1%2FKojo-Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Madhavgiga1","download_url":"https://codeload.github.com/Madhavgiga1/Kojo-Backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Madhavgiga1%2FKojo-Backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002016,"owners_count":26083258,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","django-rest-framework","docker","docker-compose","kubernetes-deployment","nginx","nginx-proxy","postgresql","python","uwsgi-nginx"],"created_at":"2025-03-06T17:18:46.145Z","updated_at":"2025-10-09T20:08:24.007Z","avatar_url":"https://github.com/Madhavgiga1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Classroom Management System\n\n[![Django](https://img.shields.io/badge/Django-3.2+-green.svg)](https://www.djangoproject.com/)\n[![DRF](https://img.shields.io/badge/DRF-3.12+-red.svg)](https://www.django-rest-framework.org/)\n[![Postgres](https://img.shields.io/badge/PostgreSQL-13+-blue.svg)](https://www.postgresql.org/)\n[![Kafka](https://img.shields.io/badge/Kafka-3.0+-orange.svg)](https://kafka.apache.org/)\n[![Kubernetes](https://img.shields.io/badge/Kubernetes-1.20+-326CE5.svg)](https://kubernetes.io/)\n[![Nginx](https://img.shields.io/badge/Nginx-1.20+-009639.svg)](https://nginx.org/)\n[![ElasticSearch](https://img.shields.io/badge/Elasticsearch-7.10+-005571.svg)](https://www.elastic.co/)\n[![Docker](https://img.shields.io/badge/Docker-20.10+-2496ED.svg)](https://www.docker.com/)\n\nA robust, scalable classroom management application built with Django REST Framework, Kafka, and PostgreSQL, Nginx, Docker and Kubernetes. \nThis system allows educators to create quizzes, students to take them, and provides real-time analytics through an event-driven architecture.\nThe teachers can also create assignment and students can upload their answers for it within the deadline.Assignments can be assigned to sections\n\n\n![Architecture Diagram](https://github.com/user-attachments/assets/339614cb-9560-4bb5-9184-dde836f29de3)\n\n## ✨ Features\n\n- **Quiz Creation and Management**: Create, update, and manage quizzes with various question types\n- **Student Assignment**: Assign quizzes to individual students or groups\n- **Real-time Results**: Process quiz submissions in real-time with Apache Kafka\n- **Comprehensive Analytics**: Track student performance and quiz statistics\n- **Advanced Search**: Find study materials with Elasticsearch fuzzy search\n- **RESTful API**: Well-documented API for integration with other systems\n- **Containerized Setup**: Easy deployment with Docker Compose or Kubernetes\n- **High Performance**: Optimized with Nginx and uWSGI for production environments\n- **Scalable Architecture**: Horizontally scalable with Kubernetes orchestration\n\n## 🏗 Architecture\n\nThe application follows a modern microservices-inspired architecture with the following components:\n\n### System Architecture\n![Architecture Diagram](https://github.com/user-attachments/assets/339614cb-9560-4bb5-9184-dde836f29de3)\n\n### Database Schema\n![db schema 1](https://github.com/user-attachments/assets/9ad96835-fd63-4e75-99dc-161e3854ed7e)\n![dbscehma 2](https://github.com/user-attachments/assets/ab3477fb-8683-44cf-8135-ee5892837925)\n\n### Kafka Event Stream Architecture\n![Kafka Architecture](https://github.com/user-attachments/assets/0f04d3a0-c006-4a9c-b0bb-062ce0960b48)\n\n\n\n## 🔧 Tech Stack\n\n### Backend\n- **Django**: Web framework\n- **Django REST Framework**: API development\n- **uWSGI**: Application server\n- **PostgreSQL**: Primary database\n- **Redis**: Caching and task queue\n\n### DevOps \u0026 Infrastructure\n- **Docker**: Containerization\n- **Kubernetes**: Container orchestration\n- **Nginx**: Web server and reverse proxy\n\n\n### Messaging \u0026 Search\n- **Apache Kafka**: Event streaming platform\n- **Zookeeper**: Kafka coordination\n- **Elasticsearch**: Searchengine\n\n### Monitoring \u0026 Documentation\n- **DRF Spectacular**: API documentation with Swagger UI\n- **Kafka UI**: Kafka management interface\n- **Adminer**: Database administration\n\n## 📚 API Documentation\n\nThe API is fully documented using DRF Spectacular, which provides interactive Swagger documentation:\n\n![API Overview](https://github.com/user-attachments/assets/4c34ef6c-ef81-4da7-b521-a2febfb92143)\n![image2](https://github.com/user-attachments/assets/7137dc04-1dbe-49e9-8559-010cd27e0318)\n![image3](https://github.com/user-attachments/assets/863a3787-71c9-490d-a4b2-780819783997)\n![image4](https://github.com/user-attachments/assets/1eb004c6-c869-426d-9bc1-a629c5d39bed)\n![image5](https://github.com/user-attachments/assets/7ecd214a-ef83-4d26-a09b-658c3578af5e)\n\nAccess the interactive documentation at `/api/schema/swagger-ui/` when the application is running.\n\n## 🚀 Installation\n\n### Prerequisites\n\n- Docker and Docker Compose (for local development)\n- Kubectl and Kubernetes cluster (for production deployment)\n- Git\n\n### Docker Compose Setup\n\n1. Clone the repository\n   ```bash\n   git clone https://github.com/your-username/quiz-management-system.git\n   cd quiz-management-system\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadhavgiga1%2Fkojo-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadhavgiga1%2Fkojo-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadhavgiga1%2Fkojo-backend/lists"}