{"id":29480995,"url":"https://github.com/afflxn/jwt-auth","last_synced_at":"2026-04-09T17:04:25.578Z","repository":{"id":304636744,"uuid":"1019401048","full_name":"Y4k3o/jwt-auth","owner":"Y4k3o","description":" Simple JWT Authentication App","archived":false,"fork":false,"pushed_at":"2025-07-14T09:46:24.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-14T12:34:27.124Z","etag":null,"topics":["docker","golang","jwt","jwt-auth","jwt-authentication","postgresql","react","react-router","shadui","swagger","tailwindcss","typescript","vite","zustand","zustand-persist"],"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/Y4k3o.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,"zenodo":null}},"created_at":"2025-07-14T09:14:53.000Z","updated_at":"2025-07-14T09:49:53.000Z","dependencies_parsed_at":"2025-07-14T12:34:38.413Z","dependency_job_id":"69f9269a-9745-4d3a-8afc-9698166ccdd6","html_url":"https://github.com/Y4k3o/jwt-auth","commit_stats":null,"previous_names":["y4k3o/jwt-auth"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Y4k3o/jwt-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Y4k3o%2Fjwt-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Y4k3o%2Fjwt-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Y4k3o%2Fjwt-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Y4k3o%2Fjwt-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Y4k3o","download_url":"https://codeload.github.com/Y4k3o/jwt-auth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Y4k3o%2Fjwt-auth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265375466,"owners_count":23755237,"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":["docker","golang","jwt","jwt-auth","jwt-authentication","postgresql","react","react-router","shadui","swagger","tailwindcss","typescript","vite","zustand","zustand-persist"],"created_at":"2025-07-14T23:55:14.252Z","updated_at":"2025-12-30T19:55:36.509Z","avatar_url":"https://github.com/Y4k3o.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JWT Auth Fullstack\n\nПростое приложение для демонстрации аутентификации\nBackend на Go с JWT, PostgreSQL, Docker и документацией через Swagger\n\nFrontend на React с использованием tanstack-query, zustand, react-router и версткой с помощью TailwindCss + shadUI\n\n## Запуск\n\n### Backend\n\n```bash\ncd backend\n```\n\n```bash\ndocker compose -f docker-compose.yml up --build\n```\n\n#### Swagger\n\nПосле запуска API-документация будет доступна по адресу:\n\n- http://localhost:8000/swagger/index.html\n\n### Frontend\n\n```bash\ncd ../frontend\n```\n\n```bash\nnpm i\n```\n\n```bash\nnpm run vite\n```\n\nФронт будет доступен по адресу: http://localhost:5173\n\n---\n\n### Функциональность\n\n- Регистрация пользователя\n- Авторизация с получением accessToken и refreshToken\n- Хранение токенов в Zustand store (Persist)\n- Проверка защищённых маршрутов\n- Обновление токенов\n- Выход (logout) с очисткой токенов\n\n### Заметки\n\n- Конфигурация базы данных и другие параметры задаются через .env и backend/configs/config.yml\n\n### Авторы \n\n- Backend https://github.com/arrogantworm\n- Frontend https://github.com/Y4k3o\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafflxn%2Fjwt-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafflxn%2Fjwt-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafflxn%2Fjwt-auth/lists"}