{"id":37902024,"url":"https://github.com/dinorain/checkoutaja","last_synced_at":"2026-01-16T17:05:17.679Z","repository":{"id":44592783,"uuid":"512844265","full_name":"dinorain/checkoutaja","owner":"dinorain","description":"Go REST example for product checkout service, supported with authentication module.","archived":false,"fork":false,"pushed_at":"2022-07-26T17:12:22.000Z","size":299,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-21T13:13:40.654Z","etag":null,"topics":["clean-architecture","docker","go","golang","jwt","jwt-token","microservice","postgresql","redis","rest-api","swagger","unit-testing"],"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/dinorain.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}},"created_at":"2022-07-11T17:10:26.000Z","updated_at":"2024-06-21T13:13:40.655Z","dependencies_parsed_at":"2022-07-13T02:20:29.542Z","dependency_job_id":null,"html_url":"https://github.com/dinorain/checkoutaja","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"dinorain/useraja","purl":"pkg:github/dinorain/checkoutaja","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinorain%2Fcheckoutaja","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinorain%2Fcheckoutaja/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinorain%2Fcheckoutaja/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinorain%2Fcheckoutaja/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dinorain","download_url":"https://codeload.github.com/dinorain/checkoutaja/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinorain%2Fcheckoutaja/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28480081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["clean-architecture","docker","go","golang","jwt","jwt-token","microservice","postgresql","redis","rest-api","swagger","unit-testing"],"created_at":"2026-01-16T17:05:17.613Z","updated_at":"2026-01-16T17:05:17.666Z","avatar_url":"https://github.com/dinorain.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Checkoutaja: Go REST example for product checkout service\n\n#### What have been used:\n* [sqlx](https://github.com/jmoiron/sqlx) - Extensions to database/sql.\n* [pgx](https://github.com/jackc/pgx) - PostgreSQL driver and toolkit for Go\n* [JWT](https://github.com/golang-jwt/jwt) - A Go implementation of JSON Web Tokens.\n* [viper](https://github.com/spf13/viper) - A Go configuration with fangs\n* [go-redis](https://github.com/go-redis/redis) - Redis client for Golang\n* [zap](https://github.com/uber-go/zap) - Logger\n* [validator](https://github.com/go-playground/validator) - Go Struct and Field validation\n* [migrate](https://github.com/golang-migrate/migrate) - Database migrations. CLI and Golang library.\n* [testify](https://github.com/stretchr/testify) - Testing toolkit\n* [gomock](https://github.com/golang/mock) - Mocking framework\n* [CompileDaemon](https://github.com/githubnemo/CompileDaemon) - Compile daemon for Go\n* [Docker](https://www.docker.com/) - Docker\n\n#### Docker compose files:\n    docker-compose.local.yml\n    docker-compose.dev.yml\n\n### Docker development usage:\n    make develop\n\n### Local development usage:\n    make local\n    make run\n\n### Swagger:\n\nhttp://localhost:5001/swagger/\n\n### Test Accounts:\n\n#### Admin\n```sh\ncurl -X POST                                                   \\\n    -d '{\n        \t\"email\": \"admin@gmail.com\",\n        \t\"password\": \"admin\"\n        }' \\\n    http://139.162.55.156:5001/swagger/index.html#/Users/post_user_login\n```\n\n#### Seller\n```sh\ncurl -X POST                                                   \\\n    -d '{\n        \t\"email\": \"seller@gmail.com\",\n        \t\"password\": \"seller\"\n        }' \\\n    http://139.162.55.156:5001/swagger/index.html#/Sellers/post_user_login\n```\n\n#### Buyer\n```sh\ncurl -X POST                                                   \\\n    -d '{\n        \t\"email\": \"djourdan555@gmail.com\",\n        \t\"password\": \"hello\"\n        }' \\\n    http://139.162.55.156:5001/swagger/index.html#/Users/post_user_login\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinorain%2Fcheckoutaja","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinorain%2Fcheckoutaja","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinorain%2Fcheckoutaja/lists"}