{"id":23443770,"url":"https://github.com/matthewoestreich/node-api-jwt","last_synced_at":"2026-04-15T05:32:00.500Z","repository":{"id":103525135,"uuid":"446233279","full_name":"matthewoestreich/node-api-jwt","owner":"matthewoestreich","description":"Nodejs API with JWT proof of concept","archived":false,"fork":false,"pushed_at":"2022-01-25T00:01:14.000Z","size":11690,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T22:47:36.827Z","etag":null,"topics":["bcrypt","express","json-web-token","jsonwebtoken","jsonwebtokens","jwt","jwt-auth","mongodb","node-api","node-jwt","node-jwt-integration","nodejs"],"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/matthewoestreich.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":"2022-01-10T00:12:06.000Z","updated_at":"2022-01-10T21:18:41.000Z","dependencies_parsed_at":"2023-04-10T08:48:58.206Z","dependency_job_id":null,"html_url":"https://github.com/matthewoestreich/node-api-jwt","commit_stats":null,"previous_names":["matthewoestreich/node-api-jwt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matthewoestreich/node-api-jwt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewoestreich%2Fnode-api-jwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewoestreich%2Fnode-api-jwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewoestreich%2Fnode-api-jwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewoestreich%2Fnode-api-jwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matthewoestreich","download_url":"https://codeload.github.com/matthewoestreich/node-api-jwt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewoestreich%2Fnode-api-jwt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31828531,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"online","status_checked_at":"2026-04-15T02:00:06.175Z","response_time":63,"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":["bcrypt","express","json-web-token","jsonwebtoken","jsonwebtokens","jwt","jwt-auth","mongodb","node-api","node-jwt","node-jwt-integration","nodejs"],"created_at":"2024-12-23T18:25:03.989Z","updated_at":"2026-04-15T05:32:00.429Z","avatar_url":"https://github.com/matthewoestreich.png","language":"JavaScript","readme":"# Node API with JWT : Proof of Concept\n\n## Demo\n\n\nhttps://user-images.githubusercontent.com/21092343/150077834-ac8d28a9-e1d1-40d0-9962-64426524112f.mp4\n\n## Synopsis\n\nThis project uses MongoDB to store User accounts. Users can register accounts to access protected routes via JWT. We use `bcrypt` to salt and hash passwords before storing in Mongo.\n\n#### Important\n\nAuthorization header value must start with `JWT` plus one space, and then the JWT eg: \n\n```\n// header shown as JSON\n{\n  \"authorization\": \"JWT yourjwt.tokengoes.here\"\n}\n``` \n\n## Setup\n\n- The easiest way to test this project is to install the [REST Client](https://marketplace.visualstudio.com/items?itemName=humao.rest-client) vscode extension. \n  - Once installed, open the `api.rest` file at the root of this project\n- You will need to create a `.env` file based upon the `.env.example` file\n\n## Commands\n\n- `npm install` : installs dependencies\n- `npm start` : starts the project via `nodemon`\n\n\n\n\n---\n\n[mattoestreich.com](https://mattoestreich.com)\n\n---\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthewoestreich%2Fnode-api-jwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatthewoestreich%2Fnode-api-jwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthewoestreich%2Fnode-api-jwt/lists"}