{"id":32465305,"url":"https://github.com/aliftech/go-jwt","last_synced_at":"2026-07-02T23:35:00.468Z","repository":{"id":239327126,"uuid":"799176953","full_name":"aliftech/go-jwt","owner":"aliftech","description":"This project is created as an exercise for unserstanding the implementation of Json Web Token (JWT) in golang signin rest api. This project is the continuation of the previous project (https://github.com/aliftech/todo-api)","archived":false,"fork":false,"pushed_at":"2024-12-12T00:02:36.000Z","size":15905,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-26T13:54:43.793Z","etag":null,"topics":["go-jwt","golang","rest-api"],"latest_commit_sha":null,"homepage":"https://github.com/aliftech/go-jwt","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/aliftech.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-05-11T11:34:05.000Z","updated_at":"2024-05-11T14:19:48.000Z","dependencies_parsed_at":"2024-05-11T15:29:37.193Z","dependency_job_id":"dd657017-154f-4819-bfce-3d37d55de813","html_url":"https://github.com/aliftech/go-jwt","commit_stats":null,"previous_names":["aliftech/go-jwt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aliftech/go-jwt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliftech%2Fgo-jwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliftech%2Fgo-jwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliftech%2Fgo-jwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliftech%2Fgo-jwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aliftech","download_url":"https://codeload.github.com/aliftech/go-jwt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliftech%2Fgo-jwt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35067031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["go-jwt","golang","rest-api"],"created_at":"2025-10-26T13:54:32.672Z","updated_at":"2026-07-02T23:35:00.422Z","avatar_url":"https://github.com/aliftech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GO-JWT\n\nThis project is created as an exercise for unserstanding the implementation of `Json Web Token (JWT)` in golang signin rest api. This project is the continuation of the previous project (https://github.com/aliftech/todo-api)\n\n## Instalation\n\n### Pre-requisites\n\nBefore installing this project, you should know about the project requirements. Here are the requirements that you need to prepared:\n\n1. Go Programming Laguage\n2. Knowledge about Go.\n3. Knowledge about REST-API\n\n### Dependencies\n\nThis project is build using some third parties or dependencies. Here are the required dependencies:\n\n1. Gin (https://gin-gonic.com/)\n2. Gorm (https://gorm.io/)\n3. Go dotenv (https://github.com/joho/godotenv)\n4. CompileDaemon (https://github.com/githubnemo/CompileDaemon)\n5. MySQL driver (https://gorm.io/docs/connecting_to_the_database.html)\n6. Go-JWT (https://pkg.go.dev/github.com/golang-jwt/jwt/v5)\n7. Go Cryptography (https://pkg.go.dev/golang.org/x/crypto). in this case we use bcrypt to encrypt our password.\n\n### Database Migration\n\nWe make a little modification, so that you don't need to run the migration manually. When you running this project, it will automaticly run the migration.\n\n### Running The Project\n\nTo run the project, you can use a usual go command:\n\n```bash\ngo run main.go\n```\n\nBut, in this project we are not going to use it. Instead of using go run command, we will using CompileDaemon to run our application. Here is the command to run our application using CompileDaemon:\n\n```bash\nCompileDaemon -command=\"./go-jwt\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliftech%2Fgo-jwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faliftech%2Fgo-jwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliftech%2Fgo-jwt/lists"}