{"id":23291493,"url":"https://github.com/guycole/elder-spatula","last_synced_at":"2026-05-05T09:31:24.935Z","repository":{"id":236856100,"uuid":"793288560","full_name":"guycole/elder-spatula","owner":"guycole","description":"nginx, gunicorn and django demo","archived":false,"fork":false,"pushed_at":"2024-05-05T18:45:52.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T07:07:46.788Z","etag":null,"topics":["django","djangorestframework","docker","gunicorn","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/guycole.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":"2024-04-28T23:22:51.000Z","updated_at":"2024-05-05T18:45:55.000Z","dependencies_parsed_at":"2025-04-06T17:46:49.741Z","dependency_job_id":"d51e50bc-a837-4d54-8510-378c82cec069","html_url":"https://github.com/guycole/elder-spatula","commit_stats":null,"previous_names":["guycole/elder-spatula"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/guycole/elder-spatula","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guycole%2Felder-spatula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guycole%2Felder-spatula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guycole%2Felder-spatula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guycole%2Felder-spatula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guycole","download_url":"https://codeload.github.com/guycole/elder-spatula/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guycole%2Felder-spatula/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32643482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"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","djangorestframework","docker","gunicorn","nginx"],"created_at":"2024-12-20T05:18:13.390Z","updated_at":"2026-05-05T09:31:24.901Z","avatar_url":"https://github.com/guycole.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# elder-spatula\nnginx, gunicorn, django container\n\n## configuration\n+ gunicorn on port 8000\n+ /api = django REST demo\n+ /app = django demo\n\n## manual step\n+ must add basic auth (for REST)\n+ ```python manage.py createsuperuser --username admin --email admin@example.com```\n\n## curl\n+ ```curl -v http://localhost:8000/app/```\n+ ```curl -v http://localhost:8000/app/page3/```\n+ ```curl -v -i -u admin -H \"Content-Type: application/json\" http://localhost:8000/api/simple/```\n+ ```curl -v -i -u admin -H \"Content-Type: application/json\" -d \"{\\\"key\\\":\\\"aaa\\\", \\\"value\\\":\\\"bbb\\\"}\" http://localhost:8000/api/simple/```\n\n## links\n+ https://www.nginx.com/blog/deploying-nginx-nginx-plus-docker/\n+ https://docs.nginx.com/nginx/admin-guide/web-server/web-server/\n+ https://www.django-rest-framework.org\n+ https://www.codingforentrepreneurs.com/blog/django-gunicorn-nginx-docker/\n+ https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguycole%2Felder-spatula","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguycole%2Felder-spatula","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguycole%2Felder-spatula/lists"}