{"id":26711639,"url":"https://github.com/stackblogger/jwt-auth-boilerplate","last_synced_at":"2025-08-19T02:42:21.398Z","repository":{"id":51903662,"uuid":"223762072","full_name":"stackblogger/jwt-auth-boilerplate","owner":"stackblogger","description":"A Node.Js boilerplate built using Express.Js framework to provide a skeleton of User Authentication using JSON Web Token (JWT) library.","archived":false,"fork":false,"pushed_at":"2022-12-22T13:13:56.000Z","size":85,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T10:36:04.015Z","etag":null,"topics":[],"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/stackblogger.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":"2019-11-24T15:01:05.000Z","updated_at":"2019-11-24T17:52:56.000Z","dependencies_parsed_at":"2023-01-30T09:45:56.030Z","dependency_job_id":null,"html_url":"https://github.com/stackblogger/jwt-auth-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stackblogger/jwt-auth-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackblogger%2Fjwt-auth-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackblogger%2Fjwt-auth-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackblogger%2Fjwt-auth-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackblogger%2Fjwt-auth-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackblogger","download_url":"https://codeload.github.com/stackblogger/jwt-auth-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackblogger%2Fjwt-auth-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271092128,"owners_count":24697903,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","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":[],"created_at":"2025-03-27T10:29:51.039Z","updated_at":"2025-08-19T02:42:21.304Z","avatar_url":"https://github.com/stackblogger.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jwt-auth-boilerplate\n\n\nA Node.Js boilerplate built using Express.Js framework to provide a skeleton of User Authentication using JSON Web Token (JWT) library.\n\n\n## Getting Started\n\nThe easiest way to get started is to clone the repository:\n\n```sh\n# Get the latest snapshot\ngit clone https://github.com/jimcute/jwt-auth-boilerplate.git\n\n# Change directory\ncd jwt-auth-boilerplate\n\n# Install NPM dependencies\nnpm install\n\n# Then simply start your app\nnode app.js\n```\n\n## Features\n\n- **Local Authentication** using Email and Password\n- MVC Project Structure\n- JWT Authentication\n\n\n### Register API\n\n**Type:** POST \u003cbr\u003e\n**Parameters:** email, password, firstname, lastname\n\n```sh\n# Call the API using Postman with the required parameters\nhttp://localhost:3000/api/auth/register\n```\n\n\u003cimg src=\"https://content.screencast.com/users/enginesoft/folders/Jing/media/b69294d4-ff25-41bb-b0c3-b30a969ddd61/00000231.png\" /\u003e\n\n\n### Login API\n\n**Type:** POST \u003cbr\u003e\n**Parameters:** email, password\n\n```sh\n# Call the API using Postman with the required parameters\nhttp://localhost:3000/api/auth/login\n```\n\n\u003cimg src=\"https://content.screencast.com/users/enginesoft/folders/Jing/media/0f95aa7b-e9ee-429c-9185-f29a45c30ce6/00000232.png\" /\u003e\n\n\n### Get Logged-In User Profile\n\n**Type:** GET \u003cbr\u003e\n**Headers:** x-access-token\n\n```sh\n# Call the API using Postman with the required parameters\nhttp://localhost:3000/api/v1/me\n```\n\n\u003cimg src=\"https://content.screencast.com/users/enginesoft/folders/Jing/media/2bbce9bc-b078-4bc2-a5d6-37cbda70a77c/00000233.png\" /\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackblogger%2Fjwt-auth-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackblogger%2Fjwt-auth-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackblogger%2Fjwt-auth-boilerplate/lists"}