{"id":21476114,"url":"https://github.com/amirhnajafiz/checkpoint","last_synced_at":"2025-07-15T10:31:57.142Z","repository":{"id":76922875,"uuid":"440097240","full_name":"amirhnajafiz/checkpoint","owner":"amirhnajafiz","description":"Using JWT to authenticate the users of an web-application","archived":false,"fork":false,"pushed_at":"2022-08-27T06:25:58.000Z","size":603,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-21T08:29:12.220Z","etag":null,"topics":["airbrake","golang","jwt","jwt-authentication","monitoring"],"latest_commit_sha":null,"homepage":"","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/amirhnajafiz.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":"2021-12-20T08:35:11.000Z","updated_at":"2023-05-31T19:12:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"6fe5b6c0-fa47-48ee-8142-acbbf39a8c47","html_url":"https://github.com/amirhnajafiz/checkpoint","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirhnajafiz%2Fcheckpoint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirhnajafiz%2Fcheckpoint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirhnajafiz%2Fcheckpoint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirhnajafiz%2Fcheckpoint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amirhnajafiz","download_url":"https://codeload.github.com/amirhnajafiz/checkpoint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226033272,"owners_count":17563125,"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":["airbrake","golang","jwt","jwt-authentication","monitoring"],"created_at":"2024-11-23T10:47:17.047Z","updated_at":"2024-11-23T10:47:18.577Z","avatar_url":"https://github.com/amirhnajafiz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/logo.png\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e\nCheckpoint\n\u003c/h1\u003e\n\nUsing JWT to authenticate the users of a web-application. The main idea\nbehind this project was to authorize our clients in a Golang service using JWT.\n\n## What do you learn from this project?\n- Middlewares in Golang\n- JWT\n- Airbrake\n\n## What is JWT?\nJSON Web Token (JWT) is an open standard \n(RFC 7519) that defines a compact and self-contained\nway for securely transmitting information \nbetween parties as a JSON object. \n\nThis information can be verified and \ntrusted because it is digitally signed. \nJWTs can be signed using a secret \n(with the HMAC algorithm) or a \npublic/private key pair using RSA or ECDSA.\n\nRead more about [JWT](https://jwt.io/introduction).\n\n## What is Airbrake?\n\nAirbrake is the world's leading error \ntracking service. Thousands of engineering \nteams all over the world use Airbrake to capture, \norganize and alert their software exceptions, \nallowing them to find and fix bugs more quickly.\n\nRead more about [Airbrake](https://www.airbrake.io/).\n\n## How to use?\nClone the project and enter the following command:\n```shell\ngo run main.go\n```\n\n### Endpoints\n- **/api/login**\n  - method = POST\n  - input: username, password\n- **/api/register**\n  - method = POST\n  - input: username, password\n- **/api/user**\n  - method = GET\n  - input: username, token [header]\n\n## Monitoring\nUsing airbrake dashboard to monitor our project:\n\u003cimg src=\"./assets/airbrake.png\" width=\"600\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirhnajafiz%2Fcheckpoint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famirhnajafiz%2Fcheckpoint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirhnajafiz%2Fcheckpoint/lists"}