{"id":19448015,"url":"https://github.com/densu341/api-auth","last_synced_at":"2025-02-25T08:52:14.539Z","repository":{"id":221730363,"uuid":"755184776","full_name":"Densu341/api-auth","owner":"Densu341","description":"Simple OAuth Multirole API Open for Universal Integration","archived":false,"fork":false,"pushed_at":"2024-02-15T19:58:21.000Z","size":101,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T23:19:35.436Z","etag":null,"topics":["expressjs","jwt-token","nodejs","sequelize-orm"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Densu341.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":"2024-02-09T15:49:33.000Z","updated_at":"2024-02-16T14:52:01.000Z","dependencies_parsed_at":"2024-02-14T08:21:51.952Z","dependency_job_id":"6f69aecc-8b22-4f54-b595-65a4fa964048","html_url":"https://github.com/Densu341/api-auth","commit_stats":null,"previous_names":["densu341/api-auth"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Densu341%2Fapi-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Densu341%2Fapi-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Densu341%2Fapi-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Densu341%2Fapi-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Densu341","download_url":"https://codeload.github.com/Densu341/api-auth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240636664,"owners_count":19832922,"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":["expressjs","jwt-token","nodejs","sequelize-orm"],"created_at":"2024-11-10T16:23:06.426Z","updated_at":"2025-02-25T08:52:14.495Z","avatar_url":"https://github.com/Densu341.png","language":"JavaScript","readme":"### Base URL: http://localhost/api/v1/auth\n\n## API Reference\n\n### Login\n\n```http\n  POST /\n```\n\n| Parameter  | Type     | Description                             |\n| :--------- | :------- | :-------------------------------------- |\n| `email`    | `string` | **Required**. Email of user to login    |\n| `password` | `string` | **Required**. Password of user to login |\n\n| Response  | Type     | Description                                |\n| :-------- | :------- | :----------------------------------------- |\n| `success` | `Object` | _status_ : 200, _message_: \"Login Success\" |\n| `error`   | `Object` | _status_ : 400, _message_: \"Fail\"          |\n\n### Register\n\n```http\n  POST /register\n```\n\n| Parameter          | Type     | Description                              |\n| :----------------- | :------- | :--------------------------------------- |\n| `fullname`         | `string` | **Required**. Name of user to create     |\n| `email`            | `string` | **Required**. Email of user to create    |\n| `password`         | `string` | **Required**. Password of user to create |\n| `password_confirm` | `string` | **Required**. confirm of user to create  |\n\n| Response  | Type     | Description                                                       |\n| :-------- | :------- | :---------------------------------------------------------------- |\n| `success` | `Object` | _status_ : 200, _message_: \"You have register successfully\"       |\n| `error`   | `Object` | _status_ : 400, _message_: \"Your record already exists with us!!\" |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdensu341%2Fapi-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdensu341%2Fapi-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdensu341%2Fapi-auth/lists"}