{"id":19150540,"url":"https://github.com/dylanbuchi/find-customers","last_synced_at":"2026-05-15T13:35:04.508Z","repository":{"id":41916727,"uuid":"335643050","full_name":"dylanbuchi/find-customers","owner":"dylanbuchi","description":"A full-stack project that stores and displays user data and its location on a map, with a REST API endpoint that allows users to be listed or retrieved by id. Built with Python, Django, SQLite, CSS, HTML, and MapBox API.","archived":false,"fork":false,"pushed_at":"2022-12-05T11:59:02.000Z","size":16928,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-30T12:04:35.016Z","etag":null,"topics":["django","django-rest-framework","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dylanbuchi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-03T14:02:15.000Z","updated_at":"2023-03-08T00:49:51.000Z","dependencies_parsed_at":"2023-01-24T05:16:03.049Z","dependency_job_id":null,"html_url":"https://github.com/dylanbuchi/find-customers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dylanbuchi/find-customers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanbuchi%2Ffind-customers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanbuchi%2Ffind-customers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanbuchi%2Ffind-customers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanbuchi%2Ffind-customers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dylanbuchi","download_url":"https://codeload.github.com/dylanbuchi/find-customers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanbuchi%2Ffind-customers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33068655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","django-rest-framework","rest-api"],"created_at":"2024-11-09T08:12:17.280Z","updated_at":"2026-05-15T13:35:04.489Z","avatar_url":"https://github.com/dylanbuchi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Find Customers\n\nA full-stack project that stores and displays user data and its location on a map, with a REST API endpoint that allows users to be listed or retrieved by id. Built with Python, Django, SQLite, CSS, HTML, and MapBox API.\n\n---\n## Demo:\n\u003cimg src=https://user-images.githubusercontent.com/52018183/107127881-ef5afc80-6897-11eb-8ff6-0bc4377c2bd5.gif with=400 height=400/\u003e\n\n-------\n\nThis project uses the MapBox API, to get the customers's city latitude and longitude and the map images\n- https://docs.mapbox.com/api/overview/ \n\nThe project has already everything set up so there is no need to create an API key, you can skip step **5** and **6**\n\n## Running the Project Locally\n\n**1**. Clone the repository to your local machine:\n```bash\ngit clone https://github.com/dylanbuchi/find-customers.git\n```\n**2**. Go to the root directory of the project:\n\n```bash\ncd find-customers/\n```\n**3**. Create a python virtual environment and activate it:\n\n```bash\npython -m venv venv\nsource venv/bin/activate\n```\n**4**. Install the requirements file:\n  \n```bash\npip install -r requirements.txt\n```\n\n**5**. Create the database:\n```bash\npython manage.py makemigrations\npython manage.py migrate\n```\n\n**6**. Load the customers file into the database:\n```bash\npython manage.py load_customers --path ./data/customers.csv\n``` \n\n**7**. Add a Django secret key to your current environment. You can generate one from this website:\n - https://djecrety.ir/\n\n```bash\nexport DJANGO_KEY='Your_secret_key'\n```\n\n**8**. Run the development server:\n\n```bash\npython manage.py runserver\n```\n\nThe project will be available at http://127.0.0.1:8000/\n\n---\n```bash\nYou can access a customer by id with the user interface at the home page or like this: http://127.0.0.1:8000/api/v1/customers/{id_number}/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylanbuchi%2Ffind-customers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdylanbuchi%2Ffind-customers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylanbuchi%2Ffind-customers/lists"}