{"id":28840990,"url":"https://github.com/algolia/algoliasearch-django-example","last_synced_at":"2025-08-24T14:40:08.092Z","repository":{"id":54174596,"uuid":"37659906","full_name":"algolia/algoliasearch-django-example","owner":"algolia","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-05T09:47:46.000Z","size":763,"stargazers_count":24,"open_issues_count":2,"forks_count":15,"subscribers_count":83,"default_branch":"master","last_synced_at":"2025-04-25T11:53:14.984Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/algolia.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":"2015-06-18T13:04:48.000Z","updated_at":"2024-02-21T12:19:28.000Z","dependencies_parsed_at":"2022-08-13T08:20:39.824Z","dependency_job_id":null,"html_url":"https://github.com/algolia/algoliasearch-django-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/algolia/algoliasearch-django-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-django-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-django-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-django-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-django-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/algolia","download_url":"https://codeload.github.com/algolia/algoliasearch-django-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-django-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260781849,"owners_count":23062312,"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":[],"created_at":"2025-06-19T15:42:39.633Z","updated_at":"2025-08-24T14:40:08.037Z","avatar_url":"https://github.com/algolia.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AlgoliaSearch Django Example\n\nThis is a Django application indexing 500 `Contact` objects and providing auto-completion and instant-search samples. See [algoliasearch-django](https://github.com/algolia/algoliasearch-django) package.\n\nA `Contact` is defined by:\n\n* A name\n* An email address\n* A company name\n\nAn [Algolia](https://www.algolia.com) account is required to test it.\n\n## Dependencies\n\n```bash\n$ pip install algoliasearch-django\n```\n\n## Installation\n\n```bash\n$ git clone https://github.com/algolia/algoliasearch-django-example\n$ cd algoliasearch-django-example\n$ python manage.py migrate\n$ python manage.py createsuperuser\n```\n\n## Configure the credentials\n\nYou can add your credentials in `core/settings.py` or you can export them in your environment:\n\n```bash\n$ export ALGOLIA_APPLICATION_ID=XXXXX\n$ export ALGOLIA_API_KEY=XXXXX\n$ export ALGOLIA_SEARCH_API_KEY=XXXXX\n```\n\n## Populate the DB and start indexing\n\n```bash\n$ python manage.py loaddata contacts.json\n$ python manage.py algolia_reindex\n```\n\n## Start the application\n\n```bash\n$ python manage.py runserver\n```\n\nEnjoy your `http://localhost:8000` examples!\n\n![Instant-search](instant-search.png)\n\n![Auto-complete](auto-complete.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falgolia%2Falgoliasearch-django-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falgolia%2Falgoliasearch-django-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falgolia%2Falgoliasearch-django-example/lists"}