{"id":20664087,"url":"https://github.com/flutterando/auth-service","last_synced_at":"2025-09-24T00:18:30.849Z","repository":{"id":96528802,"uuid":"199198649","full_name":"Flutterando/auth-service","owner":"Flutterando","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-23T02:24:28.000Z","size":205,"stargazers_count":8,"open_issues_count":1,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-29T09:51:19.362Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/Flutterando.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":"2019-07-27T18:08:37.000Z","updated_at":"2023-08-12T03:37:43.000Z","dependencies_parsed_at":"2023-05-06T03:17:24.900Z","dependency_job_id":null,"html_url":"https://github.com/Flutterando/auth-service","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/Flutterando%2Fauth-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flutterando%2Fauth-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flutterando%2Fauth-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flutterando%2Fauth-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flutterando","download_url":"https://codeload.github.com/Flutterando/auth-service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249734933,"owners_count":21317934,"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-16T19:22:05.496Z","updated_at":"2025-09-24T00:18:25.750Z","avatar_url":"https://github.com/Flutterando.png","language":"Go","readme":"# Auth Flutterando with Golang JWT and hasura\n---\n\n## Install docker and docker-compose\n@todo Consult documentation ...\n\n## Configure your database\n\nFor perfect operation, use the following user table as a basis\n```sql\nCREATE TABLE users (\n  id int pk not null unique,\n  name text,\n  mail text not null unique,\n  password text\n)\n\n\n```\nIf you wanted to change, it would be interesting to read the source code to modify the points you think are best\n\n## Run\n\n```bash\n$ docker-compose up -d\n```\n\n## Connect with your application\n\n### Routes\n\n - `/v1/gettoken`\n```bash\n    $ curl -X POST /auth/v1/gettoken -H 'Authorization: Basic BASE64(USER:PASS)'\n```\n\n - `/v1/check`  \n```bash\n    $ curl -X POST /auth/v1/check -H 'Authorization: Bearer TOKEN_JWT'\n```\n\n - `/v1/checkMail`  \n```bash\n    $ curl -X POST /auth/v1/checkMail -H 'Content-Type: application/json' -d '{\"name\":\"João Teste\",\"mail\":\"joao@test.com\", ,\"code\": 12345678}'\n```\n\n - `/v1/register`  \n```bash\n    $ curl -X POST /auth/v1/register -H 'Content-Type: application/json' -d '{\"name\":\"João Teste\",\"mail\":\"joao@test.com\", ,\"password\": \"md5-password\", \"photo\": \"http://upload-image\", \"github_user\": \"\"}'\n```\n\n - `/v1/upload` \n```bash\n    $ curl -X POST /auth/v1/upload -H 'content-type: multipart/form-data;' -F file=FILE_PATH_ON_CLIENT\n```\n\n - `/v1/uploads/{img}`\n```bash\n    $ curl -X GET /auth/v1/uploads/FILE_UPLOADED\n``` \n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutterando%2Fauth-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflutterando%2Fauth-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutterando%2Fauth-service/lists"}