{"id":49595490,"url":"https://github.com/thiagocrux/jstack-refresh-token-web-client","last_synced_at":"2026-05-04T04:03:15.000Z","repository":{"id":292449459,"uuid":"980857105","full_name":"thiagocrux/jstack-refresh-token-web-client","owner":"thiagocrux","description":"A web client made with React and TypeScript that integrates JWT authentication with refresh token rotation.","archived":false,"fork":false,"pushed_at":"2025-12-05T15:51:29.000Z","size":263,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-09T02:11:31.606Z","etag":null,"topics":["axios","react","sonner","tailwindcss","typescript","vite"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/thiagocrux.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-09T20:51:12.000Z","updated_at":"2025-12-05T15:51:32.000Z","dependencies_parsed_at":"2025-05-10T03:36:59.288Z","dependency_job_id":"ce890179-aa53-4387-98f7-3cb656a15fc3","html_url":"https://github.com/thiagocrux/jstack-refresh-token-web-client","commit_stats":null,"previous_names":["thiagocrux/jstack-refresh-token-web","thiagocrux/jstack-refresh-token-web-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thiagocrux/jstack-refresh-token-web-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagocrux%2Fjstack-refresh-token-web-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagocrux%2Fjstack-refresh-token-web-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagocrux%2Fjstack-refresh-token-web-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagocrux%2Fjstack-refresh-token-web-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thiagocrux","download_url":"https://codeload.github.com/thiagocrux/jstack-refresh-token-web-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagocrux%2Fjstack-refresh-token-web-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32593948,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"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":["axios","react","sonner","tailwindcss","typescript","vite"],"created_at":"2026-05-04T04:03:13.770Z","updated_at":"2026-05-04T04:03:14.991Z","avatar_url":"https://github.com/thiagocrux.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JStack's Refresh Token (Web Client)\n\nA web client made with React and TypeScript that integrates JWT authentication with refresh token rotation.\n\nFor more details on other project components, check out the [API](https://github.com/thiagocrux/jstack-refresh-token-api).\n\n## Technologies\n\nThese are some of the tecnologies used in this project:\n\n- `axios`: A promise-based HTTP client for Node.js and browsers, supporting request/response interception, automatic JSON transformation, and easy error handling.\n- `clsx`: A tiny utility for constructing className strings conditionally in React, often used with Tailwind CSS.\n- `commitlint`: A tool that checks your commits and ensures consistency in version control.\n- `eslint`: A linting tool for JavaScript/TypeScript code.\n- `husky`: A tool for adding Git hooks to automate tasks like linting, testing, or commits in JavaScript/Node.js projects.\n- `lint-staged`: Runs linters on Git staged files.\n- `postcss`: A tool for transforming CSS with JavaScript plugins, enabling features like autoprefixing and future CSS syntax.\n- `prettier`: A code formatter.\n- `react`: A JavaScript library for building user interfaces, based on a component model with a virtual DOM for efficient updates.\n- `sonner`: A lightweight toast notification library for React applications with simple configuration and smooth animations.\n- `tailwindcss`: A utility-first CSS framework for rapidly building custom designs without leaving your HTML.\n- `typescript`: A strongly typed superset of JavaScript that compiles to plain JS, adding static types and modern tooling for better developer experience.\n\n_For more information about other dependencies, see the `package.json` file._\n\n## Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/thiagocrux/jstack-refresh-token-web-client.git\n```\n\n2. Browse to the project folder:\n\n```bash\ncd jstack-refresh-token-web\n```\n\n3. Install dependencies:\n\n```bash\npnpm install\n```\n\n## Available scripts\n\nThis section describes the available scripts in the `package.json` file and their functionalities.\n\n### Development\n\n- #### `dev`\n\n  Starts the server in development mode, enabling faster builds and live-reloading.\n\n  ```bash\n  pnpm dev\n  ```\n\n### Production\n\n- #### `build`\n\n  Compiles the application for production.\n\n  ```bash\n  pnpm build\n  ```\n\n### Git hooks\n\n- #### `prepare`\n\n  Automatically configures Git hooks (via `husky`) before each commit.\n\n  ```bash\n  pnpm prepare\n  ```\n\n## Related links\n\n- [Live #019 - Autenticação com refresh tokens no React](https://app.jstack.com.br/classroom/lives/autenticacao-com-refresh-tokens-no-react)\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagocrux%2Fjstack-refresh-token-web-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthiagocrux%2Fjstack-refresh-token-web-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagocrux%2Fjstack-refresh-token-web-client/lists"}