{"id":21135648,"url":"https://github.com/aalug/ambassador_drf","last_synced_at":"2026-04-13T03:44:36.067Z","repository":{"id":152686844,"uuid":"593310646","full_name":"aalug/ambassador_drf","owner":"aalug","description":"Ambassador app, Django REST framework","archived":false,"fork":false,"pushed_at":"2023-03-23T13:21:42.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-21T06:43:31.864Z","etag":null,"topics":["api","backend","django","django-rest-framework","docker","drf","drf-spectacular","postgres","python","redis","rest-api","vuetify"],"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/aalug.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-01-25T18:05:24.000Z","updated_at":"2023-05-15T13:16:10.000Z","dependencies_parsed_at":"2023-04-17T23:03:51.905Z","dependency_job_id":null,"html_url":"https://github.com/aalug/ambassador_drf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aalug%2Fambassador_drf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aalug%2Fambassador_drf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aalug%2Fambassador_drf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aalug%2Fambassador_drf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aalug","download_url":"https://codeload.github.com/aalug/ambassador_drf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243581062,"owners_count":20314163,"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","backend","django","django-rest-framework","docker","drf","drf-spectacular","postgres","python","redis","rest-api","vuetify"],"created_at":"2024-11-20T06:56:56.762Z","updated_at":"2025-10-24T02:21:54.578Z","avatar_url":"https://github.com/aalug.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django REST framework ambassador app\n\nThe app is built with the **Django REST framework** on the backend and **Vue.js** on the frontend. [The frontend app](https://github.com/aalug/ambassador_vue)\n\nThe app uses:\n\n- Docker\n- Postgres\n- Redis\n- drf-spectacular for documentation\n\n## Getting started\n\n1. Clone the repository.\n4. Rename `.env.sample` to `.env` and replace the values\n5. Run in your terminal `docker-compose up --build`\n6. Now everything should be set up and app's documentation available on http://localhost:8000/api/docs/\n\n\n## Sample data\nTo get sample data:\n1. With running containers run `docker ps` and get the ID of the app container\n2. Run `docker exec -it \u003ccontainer ID\u003e bash` to get access to the container's shell\n3. In the bash terminal, run the following commands:\n- `python manage.py populate_ambassadors`\n- `python manage.py populate_orders`\n- `python manage.py populate_products` \n\nto load sample data.\n\n\n## Testing\n\nTo run tests:\n1. If containers are not running, run in your terminal `docker-compose up`\n2. In the second terminal tab, run `docker ps` and get the ID of the app container\n3. Run `docker exec -it \u003ccontainer ID\u003e bash` to get access to the container's shell\n4. Run `python manage.py test` to run all tests or `python manage.py test \u003capp-name\u003e.tests` to run tests for a specific\n   app\n\n\n## API Endpoints\n\nAll endpoints are available on http://localhost:8000/api/docs/.\nAfter running containers, this will provide you with complete and easy-to-use documentation.\nIt also gives the option to use every endpoint of this API.\n\n\n### More Information\nThis app uses djangorestframework-camel-case to enable the server to send and receive data in a format that is compatible with TypeScript. This package provides support for camel-case style serialization and deserialization, which is appropriate for the conventions used in Vue.js.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faalug%2Fambassador_drf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faalug%2Fambassador_drf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faalug%2Fambassador_drf/lists"}