From 5e35471d731a0289ad1b9ab52e0778e840bfc2da Mon Sep 17 00:00:00 2001 From: Furkan Melih Ercan Date: Sat, 7 Dec 2024 17:21:27 +0300 Subject: [PATCH] feat: cities dump created. --- .env.docker | 3 ++ .env.local | 3 ++ static/cities_dump.json | 101 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 static/cities_dump.json diff --git a/.env.docker b/.env.docker index 6a93fc3..b5996fa 100644 --- a/.env.docker +++ b/.env.docker @@ -1,3 +1,6 @@ +## CITIES +CITIES_JSON = "cities.json" + ## REDIS REDIS_HOST=redis REDIS_PORT=6379 diff --git a/.env.local b/.env.local index 1a26805..ad91e12 100644 --- a/.env.local +++ b/.env.local @@ -1,3 +1,6 @@ +## CITIES +CITIES_JSON = "cities_dump.json" + ## REDIS REDIS_HOST=localhost REDIS_PORT=6379 diff --git a/static/cities_dump.json b/static/cities_dump.json new file mode 100644 index 0000000..3edc1f7 --- /dev/null +++ b/static/cities_dump.json @@ -0,0 +1,101 @@ +[ + { + "name": "elazığ", + "plate": "23", + "latitude": "38.6748", + "longitude": "39.2225", + "counties": [ + "merkez", + "kovancılar", + "karakoçan", + "palu", + "arıcak", + "baskil", + "maden", + "sivrice", + "alacakaya", + "keban", + "ağın" + ] + }, + { + "name": "ankara", + "plate": "06", + "latitude": "39.9334", + "longitude": "32.8597", + "counties": [ + "çankaya", + "keçiören", + "yenimahalle", + "mamak", + "etimesgut", + "sincan", + "altındağ", + "pursaklar", + "gölbaşı", + "polatlı", + "çubuk", + "kahramankazan", + "beypazarı", + "elmadağ", + "şereflikoçhisar", + "akyurt", + "nallıhan", + "haymana", + "kızılcahamam", + "bala", + "kalecik", + "ayaş", + "güdül", + "çamlıdere", + "evren" + ] + }, + { + "name": "istanbul", + "plate": "34", + "latitude": "41.0082", + "longitude": "28.9784", + "counties": [ + "esenyurt", + "küçükçekmece", + "bağcılar", + "ümraniye", + "pendik", + "bahçelievler", + "üsküdar", + "sultangazi", + "gaziosmanpaşa", + "maltepe", + "kartal", + "esenler", + "kadıköy", + "kağıthane", + "avcılar", + "ataşehir", + "fatih", + "eyüp", + "sancaktepe", + "başakşehir", + "sarıyer", + "sultanbeyli", + "güngören", + "beylikdüzü", + "zeytinburnu", + "bayrampaşa", + "şişli", + "beykoz", + "arnavutköy", + "tuzla", + "çekmeköy", + "beyoğlu", + "büyükçekmece", + "bakırköy", + "beşiktaş", + "silivri", + "çatalca", + "şile", + "adalar" + ] + } +] \ No newline at end of file