{"id":16161481,"url":"https://github.com/gamemann/gfl-api-in-elixir","last_synced_at":"2025-03-18T22:30:42.121Z","repository":{"id":92735643,"uuid":"273814404","full_name":"gamemann/GFL-API-In-Elixir","owner":"gamemann","description":"GFL's API for Members, Supporters, and VIPs written in Elixir. This isn't being used in production, but I figured it's good practice when learning Elixir.","archived":false,"fork":false,"pushed_at":"2024-08-28T11:11:36.000Z","size":52,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T12:30:05.434Z","etag":null,"topics":["api","elixir","json","postgresql"],"latest_commit_sha":null,"homepage":"https://moddingcommunity.com/","language":"Elixir","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/gamemann.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-21T01:39:04.000Z","updated_at":"2025-02-16T12:55:21.000Z","dependencies_parsed_at":"2024-10-27T19:16:22.769Z","dependency_job_id":"38eb3c90-d07d-44d8-9333-5a34f8d6d553","html_url":"https://github.com/gamemann/GFL-API-In-Elixir","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/gamemann%2FGFL-API-In-Elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemann%2FGFL-API-In-Elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemann%2FGFL-API-In-Elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemann%2FGFL-API-In-Elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gamemann","download_url":"https://codeload.github.com/gamemann/GFL-API-In-Elixir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243950813,"owners_count":20373664,"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":["api","elixir","json","postgresql"],"created_at":"2024-10-10T02:25:23.677Z","updated_at":"2025-03-18T22:30:42.115Z","avatar_url":"https://github.com/gamemann.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GFL API In Elixir\n## Description\nThe GFL API written in Elixir. I'm writing this project to practice Elixir, a functional programming language I'm learning.\n\n## Installation\n1. Install a MySQL server.\n\n2. Modify your environment config in `config/\u003cenv\u003e.exs` and configure the MySQL details along with the authorization token (`token` variable).\n\n3. Install dependencies by running `mix deps.get`.\n\n4. Create database by running `mix ecto.create`.\n\n5. Migrate necessary schemas by running `mix ecto.migrate`.\n\n6. Run the web server by running `mix phx.server`.\n\n**Note** - By default, the web server binds to port `4000`. Therefore, if you're using localhost, you can grab the player's perk status by going to `http://localhost:4000/donators?steamid=\u003csteamid\u003e`. Otherwise, you can use NGINX and write a proxy config to redirect to the web application.\n\n## Response\nThe web application returns a JSON array such as the following:\n\n```\n{\"error\":-1,\"group\":1,\"steamid\":\"12345\"}\n```\n\n**Note** - When the Steam ID isn't found, `group` will return `0` and `error` will be set to `404`.\n\n## Credits\n* [Christian Deacon](https://www.linkedin.com/in/christian-deacon-902042186/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamemann%2Fgfl-api-in-elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgamemann%2Fgfl-api-in-elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamemann%2Fgfl-api-in-elixir/lists"}