{"id":19270419,"url":"https://github.com/thewidlarzgroup/jwtauthbackend","last_synced_at":"2025-04-21T20:33:43.125Z","repository":{"id":48366900,"uuid":"333866033","full_name":"TheWidlarzGroup/JWTAuthBackend","owner":"TheWidlarzGroup","description":"Express.js app with token-based authentication","archived":false,"fork":false,"pushed_at":"2021-07-29T17:31:56.000Z","size":61,"stargazers_count":24,"open_issues_count":2,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T22:57:48.262Z","etag":null,"topics":["authentication","expressjs","nextjs","nodejs","token-based-authentication"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheWidlarzGroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-28T19:05:10.000Z","updated_at":"2024-05-04T21:30:13.000Z","dependencies_parsed_at":"2022-08-29T20:11:00.485Z","dependency_job_id":null,"html_url":"https://github.com/TheWidlarzGroup/JWTAuthBackend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheWidlarzGroup%2FJWTAuthBackend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheWidlarzGroup%2FJWTAuthBackend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheWidlarzGroup%2FJWTAuthBackend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheWidlarzGroup%2FJWTAuthBackend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheWidlarzGroup","download_url":"https://codeload.github.com/TheWidlarzGroup/JWTAuthBackend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250128501,"owners_count":21379525,"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":["authentication","expressjs","nextjs","nodejs","token-based-authentication"],"created_at":"2024-11-09T20:24:45.321Z","updated_at":"2025-04-21T20:33:42.865Z","avatar_url":"https://github.com/TheWidlarzGroup.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Backend for my article on [TheWidlarzGroup](https://www.thewidlarzgroup.com/)\n\n[install postgres](https://www.postgresqltutorial.com/install-postgresql/)\n\n### How to run?!\n\n- Step 1: Clone the project\n\n```bash\ngit clone https://github.com/TheWidlarzGroup/JWTAuthBackend.git\n```\n\n- Step 2: Install packages\n\n```bash\ncd JWTAuthBackend \u0026\u0026 yarn\n```\n\n- Step 3: Add .env file\n\n```\nAdd .env file with DATABASE_URL\n\nexample:\nDATABASE_URL =  \"postgresql://postgres:postgres@localhost:5432/prismadb\"\nREFRESH_TOKEN_SECRET = \"refreshthesecretphrog\"\nACCESS_TOKEN_SECRET = \"accessthesecretphrog\"\n```\n\n- Step 4: Run Prisma migration:\n\n```bash\nnpx prisma migrate dev --name newMigration --preview-feature\n```\n\n- Step 5: Run the backend!\n\n```bash\nyarn dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthewidlarzgroup%2Fjwtauthbackend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthewidlarzgroup%2Fjwtauthbackend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthewidlarzgroup%2Fjwtauthbackend/lists"}