{"id":21667734,"url":"https://github.com/alan2207/express-server-jwt","last_synced_at":"2025-04-12T01:42:00.972Z","repository":{"id":40704921,"uuid":"121423218","full_name":"alan2207/express-server-jwt","owner":"alan2207","description":"A simple express server that handles JWT authentication","archived":false,"fork":false,"pushed_at":"2022-12-22T20:22:08.000Z","size":299,"stargazers_count":43,"open_issues_count":7,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T21:22:16.372Z","etag":null,"topics":["authentication","express","jwt","jwt-authentication","node","prisma","rest-api","server"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/alan2207.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":"2018-02-13T18:59:51.000Z","updated_at":"2024-10-09T07:21:09.000Z","dependencies_parsed_at":"2023-01-30T16:42:53.361Z","dependency_job_id":null,"html_url":"https://github.com/alan2207/express-server-jwt","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/alan2207%2Fexpress-server-jwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alan2207%2Fexpress-server-jwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alan2207%2Fexpress-server-jwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alan2207%2Fexpress-server-jwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alan2207","download_url":"https://codeload.github.com/alan2207/express-server-jwt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248505761,"owners_count":21115353,"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","express","jwt","jwt-authentication","node","prisma","rest-api","server"],"created_at":"2024-11-25T11:46:45.070Z","updated_at":"2025-04-12T01:42:00.938Z","avatar_url":"https://github.com/alan2207.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Express Server JWT\n\nA simple server with JWT authentication with the ability to create new users, and to authenticate the existing ones.\n\n## Stack\n\n- express\n- prisma\n- passport\n- jwt\n\n## Endpoints:\n\n- /signin - POST (email, password)\n- /signup - POST (email, password)\n- /user - GET (protected)\n\n## Get Started:\n\nDownload the repo and install all dependencies:\n\n```\ngit clone https://github.com/alan2207/express-server-jwt\ncd express-server-jwt\nnpm install\n```\n\nConfigure server environment variables:\n\n```\ncp .env.example .env\n```\n\nGenerate Prisma Client\n\n```\nnpx prisma generate\n```\n\nRun Prisma migration\n\n```\nnpx prisma migrate\n```\n\nRun the server:\n\n```\nnpm start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falan2207%2Fexpress-server-jwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falan2207%2Fexpress-server-jwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falan2207%2Fexpress-server-jwt/lists"}