Django Internship Assignment
If you are seeing this, it means your application has been shortlisted for review. To move forward and secure the internship, please complete the following
assignment.
Assignment Task:
You are required to build a small Django project that demonstrates your backend development skills. The assignment includes Django REST Framework,
authentication, Celery, Telegram bot integration, and proper code management.
Requirements:
1️ Django Project Setup
Create a Django project using Django Rest Framework (DRF).
Setup proper [Link] for production:
Set DEBUG=False .
Use environment variables for secrets (e.g. secret key, DB credentials, API keys).
2️ API Development
Create at least 2 API endpoints :
Public endpoint (accessible to everyone).
Protected endpoint (accessible only to authenticated users using TokenAuth or JWT).
Implement Django Login for web-based access.
3️ Celery Integration
Setup Celery with Redis as the broker.
Implement one background task (example: send email after user registration).
4️ Telegram Bot Integration
Create a Telegram Bot using Telegram Bot API.
When users send a /start command to the bot, collect their Telegram username and store it into your Django database.
5️ Code Management
Upload complete source code to GitHub.
The repository must have:
Proper commit history.
Clean, well-documented code.
A detailed [Link] with:
Setup instructions
Environment variables used
How to run locally
API documentation (if possible)
Submission:
Submit your GitHub Repository URL only.
No deployment is required.
Submission Deadline: within 7 days of receiving this assignment
Note:
This assignment is mandatory to qualify for internship selection.
Focus on writing clean, production-ready code.
Good luck — we are excited to review your work!