{"id":21239646,"url":"https://github.com/mdsrosa/mozio_drawing_tool","last_synced_at":"2025-03-15T03:41:42.765Z","repository":{"id":147919605,"uuid":"50232785","full_name":"mdsrosa/mozio_drawing_tool","owner":"mdsrosa","description":"A simple django application to manage shuttle companies services areas using Google Maps Javascript API.","archived":false,"fork":false,"pushed_at":"2016-01-24T06:26:57.000Z","size":3131,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T19:26:46.894Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/mdsrosa.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":"2016-01-23T09:50:00.000Z","updated_at":"2016-01-24T04:20:27.000Z","dependencies_parsed_at":"2023-04-19T14:31:07.193Z","dependency_job_id":null,"html_url":"https://github.com/mdsrosa/mozio_drawing_tool","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/mdsrosa%2Fmozio_drawing_tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsrosa%2Fmozio_drawing_tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsrosa%2Fmozio_drawing_tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsrosa%2Fmozio_drawing_tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdsrosa","download_url":"https://codeload.github.com/mdsrosa/mozio_drawing_tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243680981,"owners_count":20330155,"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":"2024-11-21T00:44:40.073Z","updated_at":"2025-03-15T03:41:42.741Z","avatar_url":"https://github.com/mdsrosa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mozio - Service Area Drawing Tool\n\nA simple django application to manage shuttle companies services areas using Google Maps Javascript API.\n\n[![Python version](https://img.shields.io/badge/Python-v2.7.10-blue.svg)](https://www.python.org/downloads/release/python-2710/) [![Django version](https://img.shields.io/badge/Django-v1.9.1-blue.svg)](https://docs.djangoproject.com/en/1.9/) [![Fabric version](https://img.shields.io/badge/Fabric-1.4.3-brightgreen.svg)](http://docs.fabfile.org/en/1.10/) [![MySQL version](https://img.shields.io/badge/MySQL-5.6-orange.svg)](https://dev.mysql.com/doc/refman/5.6/en/) [![Google Maps JavaScript API v3](https://img.shields.io/badge/Google_Maps_JavaScript_API-v3-green.svg)](https://developers.google.com/maps/documentation/javascript/)\n\n## Installation\n###### **Considering you already have a Python development environment setup.**\n\n```bash\n$ git clone https://github.com/mdsrosa/mozio_drawing_tool.git\n$ cd mozio_drawing_tool\n$ mkvirtualenv routes-api-dev\n$ pip install -r requirements/dev.txt\n```\n\n### Running Locally\n```bash\n$ python manage.py migrate --settings=mozio_drawing_tool.settings.local\n$ python manage.py runserver --settings=mozio_drawing_tool.settings.local\nPerforming system checks...\n\nSystem check identified no issues (0 silenced).\nJanuary 24, 2016 - 03:05:53\nDjango version 1.9.1, using settings 'mozio_drawing_tool.settings.local'\nStarting development server at http://127.0.0.1:8000/\nQuit the server with CONTROL-C.\n```\n\n# Views\n\n#### GET /mozio/define-your-service-area\n\nThis view is responsible for the interface where the user can define a service area.\n\n\u003cimg src=\"mozio_drawing_tool/static/images/mozio_define_your_service_area.png\" width=\"480\" /\u003e\n\n#### How to use it\nIn the \"Define your service area\" page, start by clicking in the polygon icon \u003cimg src=\"mozio_drawing_tool/static/images/polygon_icon.png\" width=\"20\"height=\"20\" /\u003e to draw your service area. The points you draw will show up on the right side with the `latitude` and `longitude` informations. You can edit the draw as much as you like. If you're sure that's your service area, select the company and then hit the `Submit Service Area` button, if not you can always hit the `Clean shape` button and start over.\n\n#### GET /mozio/validate-point\n\nThis view is responsible for providing a map where you can click on any point on the map and find out if that point is within the bounding box.\n\n\u003cimg src=\"mozio_drawing_tool/static/images/mozio_validate_point.png\" width=\"480\" /\u003e\n\n#### How to use it\nClick anywhere on the map to find out if that point is within a bounding box or not. If there is one, it will put a marker on the spot and show the company's name that servers in that region.\n\n\n## Tests\nI love tests. But, since this is just a prototype of a solution for a specific problem, I didn't focus on them, I did focus more in the implementation itself.\n\n## Possible improvements\n\nHere are some ideas for this project that I think it could make the product better:\n\n* Authentication by company\n* Dashboard to show all the service areas in a list\n* Possibility to edit a service area\n* Possibility to delete a service area\n* Suggest services areas for the company\n* Register multiple service areas at once\n* Temporary service areas (with due date)\n* Company profile showing a marker on every service area it serves\n\nThat's some of my ideas based on the knowlodge I've about this specific project.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsrosa%2Fmozio_drawing_tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdsrosa%2Fmozio_drawing_tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsrosa%2Fmozio_drawing_tool/lists"}