{"id":24075468,"url":"https://github.com/rehman199/django","last_synced_at":"2026-05-05T04:39:14.313Z","repository":{"id":270829160,"uuid":"911564590","full_name":"rehman199/django","owner":"rehman199","description":"A production-ready Django REST Framework starter template featuring JWT authentication, Celery integration for async tasks. Perfect for kickstarting secure and scalable REST API projects.","archived":false,"fork":false,"pushed_at":"2025-01-08T19:14:27.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T19:44:32.780Z","etag":null,"topics":["api","celery","django","django-rest-framework","jwt-authentication","postgresql","python","redis","rest-api","starter-template"],"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/rehman199.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}},"created_at":"2025-01-03T10:10:49.000Z","updated_at":"2025-01-08T19:14:31.000Z","dependencies_parsed_at":"2025-01-08T19:44:34.678Z","dependency_job_id":null,"html_url":"https://github.com/rehman199/django","commit_stats":null,"previous_names":["rehman199/ecommerce","rehman199/django"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehman199%2Fdjango","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehman199%2Fdjango/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehman199%2Fdjango/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehman199%2Fdjango/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rehman199","download_url":"https://codeload.github.com/rehman199/django/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240947648,"owners_count":19883029,"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","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":["api","celery","django","django-rest-framework","jwt-authentication","postgresql","python","redis","rest-api","starter-template"],"created_at":"2025-01-09T19:04:53.740Z","updated_at":"2026-05-05T04:39:09.292Z","avatar_url":"https://github.com/rehman199.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django REST API Starter Template\n\nA production-ready Django REST Framework starter template with JWT authentication and Celery integration for asynchronous task processing.\n\n## Features\n\n- 🔐 JWT Authentication using `djangorestframework-simplejwt`\n- 🚀 Celery integration for background tasks\n- 🔄 REST API using Django REST Framework\n- 🛡️ Secure by default configuration\n\n## Prerequisites\n\n- Python 3.8+\n- Redis (for Celery)\n- PostgreSQL\n\n## Quick Start\n\n1. Clone the repository\n\n```bash\ngit clone https://github.com/rehman199/django\ncd django\n```\n\n2. Set up a virtual environment\n\n```bash\npython -m venv venv\nsource venv/bin/activate\n# On Windows use: venv\\Scripts\\activate\n```\n\n3. Install dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n4. Set up environment variables\n\n```bash\ncp .env.example .env\n# Edit .env with your configuration\n```\n\n5. Run migrations\n\n```bash\npython manage.py migrate\n```\n\n6. Start the development server\n\n```bash\npython manage.py runserver\n```\n\n7. Start Celery worker\n\n```bash\ncelery -A django worker -l info\n```\n\n## API Endpoints\n\n### Authentication\n\n## API Endpoints\n\n### Authentication\n\n- `POST /api/auth/register` - Register a new user\n- `POST /api/auth/login` - Login and obtain JWT tokens\n- `POST /api/auth/token/refresh` - Refresh JWT token\n- `POST /api/auth/verify-email` - Verify user's email address\n- `GET /api/auth/me` - Get current user's details\n- `POST /api/auth/logout` - Logout user\n- `POST /api/auth/reset-password` - Request password reset\n- `POST /api/auth/reset-password/verify` - Verify password reset token\n- `POST /api/auth/reset-password/submit` - Submit new password\n\nEach endpoint expects and returns JSON data. For detailed request/response formats, refer to the API documentation.\n\nNote: All endpoints except `register`, `login`, and password reset-related endpoints require a valid JWT token in the Authorization header: `Authorization: Bearer \u003ctoken\u003e`.\n\n## Celery Tasks\n\nThe project includes Celery for handling asynchronous tasks. Tasks can be found in the respective app directories under the `tasks.py` files.\n\n## Development\n\n1. Make sure all tests pass:\n\n```bash\npython manage.py test\n```\n\n2. Check code style:\n\n```bash\nflake8\n```\n\n## Deployment\n\nThis project is deployment-ready for platforms like:\n\n- Heroku\n- DigitalOcean\n- AWS\n\nRefer to the deployment documentation for platform-specific instructions.\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frehman199%2Fdjango","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frehman199%2Fdjango","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frehman199%2Fdjango/lists"}