{"id":21250900,"url":"https://github.com/natlee/django-project-template","last_synced_at":"2025-07-11T01:31:37.680Z","repository":{"id":177148402,"uuid":"601871578","full_name":"NatLee/django-project-template","owner":"NatLee","description":"A template with many features of Docker, 3rd party login, JWT, websocket, Admin UI and django-q","archived":false,"fork":false,"pushed_at":"2025-03-24T04:00:05.000Z","size":3154,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T19:04:29.476Z","etag":null,"topics":["3rd-party-login","allauth","django","django-q","django-rest-framework","jwt-authentication","project-template","template","websocket"],"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/NatLee.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":"2023-02-15T02:07:10.000Z","updated_at":"2025-03-24T04:00:09.000Z","dependencies_parsed_at":"2023-12-21T11:36:42.851Z","dependency_job_id":"a3b8207d-fa49-404f-befa-d1b529709200","html_url":"https://github.com/NatLee/django-project-template","commit_stats":null,"previous_names":["natlee/django-project-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NatLee/django-project-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLee%2Fdjango-project-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLee%2Fdjango-project-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLee%2Fdjango-project-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLee%2Fdjango-project-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NatLee","download_url":"https://codeload.github.com/NatLee/django-project-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLee%2Fdjango-project-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264705084,"owners_count":23652153,"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":["3rd-party-login","allauth","django","django-q","django-rest-framework","jwt-authentication","project-template","template","websocket"],"created_at":"2024-11-21T03:39:30.994Z","updated_at":"2025-07-11T01:31:37.662Z","avatar_url":"https://github.com/NatLee.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django Backend Template\n\n![cover](./doc/cover.png)\n\nThis is a Django backend template. It includes some useful features and tools.\n\n## Requirements\n\nPlease specify the required variables in `.env` for this project.\n\n## Features\n\n- Docker\n- Backend -\u003e Django 5\n- Database -\u003e PostgreSQL\n- Load Balancer -\u003e NGINX\n\n## Other Features\n\n- API Proxy -\u003e api_proxy\n- User login history -\u003e django_login_history\n- Login Playground (Session, JWT) -\u003e dev_dashboard\n- 3rd Party Login with JWT -\u003e Custom Allauth Adapter (authentication)\n- Websocket(WSGI) -\u003e Django Channels\n- Async Task -\u003e Django Q2\n- Documentation -\u003e Redoc, Swagger\n\n## Usage\n\n### Quick Start\n\n```bash\ndocker-compose build \u0026\u0026 docker-compose up\n```\n\n### Rebuild\n\nClean up and rebuild.\n\n```bash\nrm -rf backend-db-data \u0026\u0026  docker-compose down -v \u0026\u0026 docker-compose build \u0026\u0026 docker-compose up\n```\n\n### 3rd Party Login\n\nYou can check the setting in [here](https://github.com/NatLee/Django-Simple-3rd-Party-JWT?tab=readme-ov-file#backend).\n\n## Misc\n\n\u003e Ensure your environment is ready in `.env` file.\n\n- Create superuser\n\n```bash\nbash dev-tool.sh create-superuser\n```\n\n- Enter Shell\n\n```bash\nbash dev-tool.sh shell\n```\n\n- Start New APP\n\n```bash\nbash dev-tool.sh django-startapp \u003cYOUR_NEW_APP_NAME\u003e\n```\n\n## Playground\n\nThe playground is a place to test the login system and websocket.\n\n- DEV dashboard: http://localhost:5566/api/__hidden_dev_dashboard\n\n- Websocket Test Page: http://localhost:5566/api/ping/index\n\n## Link\n\n\u003e Here's port `5566` is an example. You can define it in `.env` file.\n\n- Admin: http://localhost:5566/api/__hidden_admin/\n\n- Redoc: http://localhost:5566/api/__hidden_redoc\n\n- Swagger: http://localhost:5566/api/__hidden_swagger\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatlee%2Fdjango-project-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatlee%2Fdjango-project-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatlee%2Fdjango-project-template/lists"}