{"id":21726899,"url":"https://github.com/angelfire/jwt-auth-route","last_synced_at":"2026-04-11T00:02:32.055Z","repository":{"id":71332607,"uuid":"190803396","full_name":"Angelfire/jwt-auth-route","owner":"Angelfire","description":"Authorization route using JWT","archived":false,"fork":false,"pushed_at":"2019-06-07T20:26:10.000Z","size":2078,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T19:42:10.968Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Angelfire.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":"2019-06-07T20:16:03.000Z","updated_at":"2019-06-07T20:26:12.000Z","dependencies_parsed_at":"2023-02-27T10:31:33.490Z","dependency_job_id":null,"html_url":"https://github.com/Angelfire/jwt-auth-route","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/Angelfire%2Fjwt-auth-route","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angelfire%2Fjwt-auth-route/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angelfire%2Fjwt-auth-route/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angelfire%2Fjwt-auth-route/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Angelfire","download_url":"https://codeload.github.com/Angelfire/jwt-auth-route/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244706537,"owners_count":20496571,"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":[],"created_at":"2024-11-26T03:41:09.199Z","updated_at":"2025-12-30T22:08:48.919Z","avatar_url":"https://github.com/Angelfire.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Protecting routes using JWT\n\n## Install dependencies\n`npm i`\n\n## Run the server\n`npm start`\n\n## Routes\n### Login\nAccess to this router in order to create a new JWT\n\n`http://localhost:5000/api/login`\n\n### Posts (Protected route)\nAdd `Authorization` header with the previous JWT in order the `POST` a new post.\n\n`http://localhost:5000/api/posts`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangelfire%2Fjwt-auth-route","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangelfire%2Fjwt-auth-route","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangelfire%2Fjwt-auth-route/lists"}