{"id":17746780,"url":"https://github.com/andrekovac/django-poetry-rest-api","last_synced_at":"2025-05-08T01:24:10.302Z","repository":{"id":41848928,"uuid":"482019814","full_name":"andrekovac/django-poetry-rest-api","owner":"andrekovac","description":"A basic Django REST API (with a 90s TV show theme)","archived":false,"fork":false,"pushed_at":"2022-05-14T18:06:30.000Z","size":632,"stargazers_count":2,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-08-08T02:44:11.846Z","etag":null,"topics":["django","django-rest-framework","python"],"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/andrekovac.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}},"created_at":"2022-04-15T16:31:54.000Z","updated_at":"2023-08-08T02:44:11.846Z","dependencies_parsed_at":"2022-08-11T19:20:34.958Z","dependency_job_id":null,"html_url":"https://github.com/andrekovac/django-poetry-rest-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrekovac%2Fdjango-poetry-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrekovac%2Fdjango-poetry-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrekovac%2Fdjango-poetry-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrekovac%2Fdjango-poetry-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrekovac","download_url":"https://codeload.github.com/andrekovac/django-poetry-rest-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252979789,"owners_count":21835115,"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":["django","django-rest-framework","python"],"created_at":"2024-10-26T08:41:56.989Z","updated_at":"2025-05-08T01:24:10.273Z","avatar_url":"https://github.com/andrekovac.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A basic Django REST API\n\nA basic Django REST API with the Django `djangorestframework` (with a 90s music theme)\n\nThe JSON response can be accessed via \u003chttp://127.0.0.1:8000/api/\u003e\n\n## Run locally\n\n1. Clone the repo.\n2. Make sure you have [poetry](https://python-poetry.org/) (python environment and dependency manager) installed.\n3. In the project folder run `poetry install` to install dependencies.\n4. Run `poetry shell` to open a new shell with all dependencies available.\n5. Run `cd backend \u0026\u0026 python manage.py runserver`\n6. Go to \u003chttp://127.0.0.1:8000/api/\u003e to view the JSON response\n\n## Links\n\n- Frontend to be deployed on Netlify...\n- [Backend](https://django-poetry-rest-api.herokuapp.com/shows/)\n\n## Concepts\n\n### Postgres\n\nSee the `DATABASES` entry in `backend/settings.py`\n\n### REST API\n\n- `djangorestframework`\n- Data model **serialization** (see `shows/views.py`)\n\n### Connect API to Frontend\n\n- Fetch API data from backend via a React App\n\n## Re-create this project\n\n- [BASIC_POETRY_DJANGO_SETUP.md](./docs/BASIC_POETRY_DJANGO_SETUP.md) contains instructions to set up the basics of this project\n- [HOW_TO.md](./docs/HOW_TO.md) contains a step-by-step instruction to recreate this project.\n\n## Further guides\n\n- [DEPLOYMENT.md](./docs/DEPLOYMENT.md): How to deploy this Django project to Heroku\n- [ENV_FILES.md](./docs/ENV_FILES.md): How to secure your app in production with an `.env` file\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrekovac%2Fdjango-poetry-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrekovac%2Fdjango-poetry-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrekovac%2Fdjango-poetry-rest-api/lists"}