Skip to content

Commit

Permalink
feat: cities dump created.
Browse files Browse the repository at this point in the history
  • Loading branch information
fmelihh committed Dec 7, 2024
1 parent 59bc4e4 commit 5e35471
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .env.docker
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## CITIES
CITIES_JSON = "cities.json"

## REDIS
REDIS_HOST=redis
REDIS_PORT=6379
Expand Down
3 changes: 3 additions & 0 deletions .env.local
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## CITIES
CITIES_JSON = "cities_dump.json"

## REDIS
REDIS_HOST=localhost
REDIS_PORT=6379
Expand Down
101 changes: 101 additions & 0 deletions static/cities_dump.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
]

0 comments on commit 5e35471

Please sign in to comment.