All Projects → alpcanaydin → githubist-api

alpcanaydin / githubist-api

Licence: MIT license
API repository for Github.ist

Programming Languages

elixir
2628 projects

Projects that are alternatives of or similar to githubist-api

TR-PhishingList
Türkiye'ye Yönelik Zararlı Bağlantı Erişim Engelleme Listesi
Stars: ✭ 68 (+100%)
Mutual labels:  turkey
pusula
Oy pusulası fotoğrafı isteyen işyerleri için, oy pusulası fotoğrafı yapıcı
Stars: ✭ 14 (-58.82%)
Mutual labels:  turkey
TurkeyStartup
Türkiye 'de ki Melek Yatırımcı Listesi
Stars: ✭ 30 (-11.76%)
Mutual labels:  turkey
uzakel
Verimerkezleri Arası IP Engelleme Sistemi
Stars: ✭ 17 (-50%)
Mutual labels:  turkey
Turkey-Geo-Neighborhood-Database
Cities, districts and neighborhoods of the Turkey with geolocation data. MongoDB
Stars: ✭ 26 (-23.53%)
Mutual labels:  turkey
kandilli-rasathanesi-api
Kandilli rasathanesinin son dakika depremler ve tarihe göre deprem listesi için ara API (last minute earthquakes in turkey)
Stars: ✭ 90 (+164.71%)
Mutual labels:  turkey
projects
Türk geliştiricelerin açık kaynak Ruby projeleri
Stars: ✭ 13 (-61.76%)
Mutual labels:  turkey
neleryasak
Yeni normalleşme süreci şehirler özelindeki yasaklar toolu :)
Stars: ✭ 43 (+26.47%)
Mutual labels:  turkey
turkeyvisited
Mark the cities you have visited in Turkey and share the map!
Stars: ✭ 82 (+141.18%)
Mutual labels:  turkey

Github.ist API

This is the API repo for https://github.ist. You may also want to take a look to Web and Fetcher

Installation

Before the installation, please provide the seed data via Fetcher. You can find the instructions in the fetcher repo.

Docker

  • Install dependencies with ./mix deps.get
  • Create and migrate your database with ./mix ecto.create && ./mix ecto.migrate
  • Seed the database with ./mix run priv/repo/seeds.exs

Executing Custom Commands

To run commands other than mix tasks, you can use the ./run script.

./run iex -S mix

Traditional Setup

  • Change directory to src with cd src/
  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Seed the database with mix run priv/repo/seeds.exs

Starting the API

You can start the API with mix phx.server command. You can visit http://0.0.0.0:4000 from your browser.

Wıth Docker

You can start the API with docker-compose up. You can check it via curl 'http://localhost:4000/graphql' -H 'content-type: application/json' --data-binary '{"operationName":null,"variables":{"username":"mdegis"},"query":"query ($username: String!) {\n developer(username: $username) {\n ...BasicDeveloper\n bio\n githubUrl\n __typename\n }\n}\n\nfragment BasicDeveloper on Developer {\n id\n name\n username\n avatarUrl\n __typename\n}\n"}'

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].