{"id":20881110,"url":"https://github.com/n2duc/jwt-authentication","last_synced_at":"2026-04-05T23:32:22.078Z","repository":{"id":246213951,"uuid":"820432513","full_name":"n2duc/jwt-authentication","owner":"n2duc","description":"Authentication for web applications using JWT, React, Express, MongoDB","archived":false,"fork":false,"pushed_at":"2024-09-19T15:32:00.000Z","size":335,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-19T10:07:20.287Z","etag":null,"topics":["express","jwt","mongodb","react"],"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/n2duc.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-06-26T13:04:54.000Z","updated_at":"2024-06-26T13:13:48.000Z","dependencies_parsed_at":"2024-06-26T16:07:47.642Z","dependency_job_id":"206d0b2c-e950-44d9-b95b-f211cc153e5d","html_url":"https://github.com/n2duc/jwt-authentication","commit_stats":null,"previous_names":["n2duc/jwt-authentication"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n2duc%2Fjwt-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n2duc%2Fjwt-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n2duc%2Fjwt-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n2duc%2Fjwt-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n2duc","download_url":"https://codeload.github.com/n2duc/jwt-authentication/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243258497,"owners_count":20262300,"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":["express","jwt","mongodb","react"],"created_at":"2024-11-18T07:23:31.907Z","updated_at":"2025-12-30T22:52:01.958Z","avatar_url":"https://github.com/n2duc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  N2Dev - JWT Authentication\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca aria-label=\"Framework\" href=\"https://react.dev\"\u003e\n    \u003cimg alt=\"\" src=\"https://img.shields.io/badge/react-black?logo=react\u0026style=for-the-badge\"\u003e\n  \u003c/a\u003e\n  \u003cimg alt=\"\" src=\"https://img.shields.io/github/languages/top/n2duc/jwt-authentication?style=for-the-badge\u0026labelColor=000\"\u003e\n\u003c/p\u003e\n\nThis repository contains the code for my authentication repo, where I share my thoughts, projects, and insights. Feel free to explore and get inspired.\n\n## ✨ Features\n\n- ⚡️ Express.js for Server\n- ⚛️ React.js with Typescript for Client\n- 🎨 Tailwind CSS - for styling\n- 🌈 Shadcn UI - accessible UI components\n- 🛡 Strict TypeScript and ESLint configuration\n- 🔒 Jsonwebtoken - Authentication\n- 🍀 MongoDB - Store database\n\n## 🔨 Requirements\n- [Node.js](https://nodejs.org) `\u003e=20.0.0`\n- [Yarn](https://yarnpkg.com/) - package manager\n- [Visual Studio Code](https://code.visualstudio.com/)\n\n## 👋 Getting Started\n\nFollow these steps to run the project locally on your machine:\n\n1. Clone the repository\n\n```bash\ngit clone https://github.com/n2duc/jwt-authentication.git\n```\n\n2. Navigate to the project directory\n\n```bash\ncd jwt-authentication\n```\n\nStay in folder, redirect to Front-end:\n```bash\ncd web-client-vite\n```\n\nAnd Back-end:\n```bash\ncd api-server\n```\n\n3. Change environment variables in .env file\n\nIn FE:\n```bash\nVITE_API_URL = 'your-api-endpoint'\n```\n\nIn BE:\n```bash\nMONGO_DB_URI = 'mongo-db-uri-here'\nPORT = 'port server here'\nACCESS_TOKEN_SECRET_SIGNATURE = 'JWT secret signature here'\nREFRESH_TOKEN_SECRET_SIGNATURE = 'JWT secret signature here'\n```\n\n4. Install dependencies (common to both FE \u0026 BE)\n\n```bash\nyarn install\n```\n\n5. Run the development server (common to both FE \u0026 BE)\n\n```bash\nyarn dev\n```\n\n\u003chr\u003e\n\u003cp align=\"center\"\u003e\nFrom N2Dev with Love ❤️❤️‍🔥\n\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn2duc%2Fjwt-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn2duc%2Fjwt-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn2duc%2Fjwt-authentication/lists"}