Tajweed-AI : mobile app , salam hack Hackathon
Backend for Tjweed-AI, a Django DRF application to assist users in learning Quranic recitation and Tajweed with AI-generated content. Hosted on Render using Docker.
A mobile app backend leveraging AI to provide personalized Tajweed lessons, quizzes, and recitation correction for Quran learners.
- URL: https://my-django-app-latest-ht9a.onrender.com
- Hosting: Render
- Container: Docker
- Framework: Django REST Framework (DRF)
- Language: Python
- Database: SQLite
- AI: Google Gemini API
- Deployment: Docker on Render
/api/signup/POST: Register a new user.
/api/token/POST: Generate access and refresh tokens.
/api/refresh/token/POST: Refresh access token.
/api/generate_quiz/{{topic}}/GET: Generate a quiz for a given topic.
/api/quiz/GET: List quizzes.POST: Create quiz.PUT,PATCH,DELETE: Update or delete quiz.
/api/chatbot/POST: Send message to chatbot.GET: Retrieve chat history.DELETE: Clear chat history.
/api/goals/POST: Set user goals and generate lessons.PUT: Update goals.GET: Retrieve goals.
/api/lessons/GET: List lessons.PATCH: Update lesson.DELETE: Delete all lessons.
/api/get_verse/{{topic}}/GET: Fetch a verse related to a topic.
/api/recitation_correction/POST: Submit audio file, topic, and verse for correction.
- Clone the repo:
git clone <repo-url> - Install dependencies:
pip install -r requirements.txt - Run migrations:
python manage.py migrate - Start server:
python manage.py runserver
- All AI features (quiz generation, chatbot, lesson creation, recitation correction) use the Google Gemini API.
- Docker configuration is included for deployment.