{"id":21524114,"url":"https://github.com/helloakn/api-authorization-nodejs-mysql","last_synced_at":"2026-03-07T23:32:30.655Z","repository":{"id":111312727,"uuid":"470579521","full_name":"helloakn/api-authorization-nodejs-mysql","owner":"helloakn","description":"Tutorial Project : NodeJs API Multi Authorization Middleware with JWT","archived":false,"fork":false,"pushed_at":"2022-04-02T07:41:30.000Z","size":9,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T22:52:40.145Z","etag":null,"topics":["api","jwt","multi-au","nodejs","nodejs-authorization-middleware"],"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/helloakn.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-03-16T12:46:35.000Z","updated_at":"2023-06-30T02:34:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"177b95a5-badf-4143-8a16-f221ed234818","html_url":"https://github.com/helloakn/api-authorization-nodejs-mysql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/helloakn/api-authorization-nodejs-mysql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloakn%2Fapi-authorization-nodejs-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloakn%2Fapi-authorization-nodejs-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloakn%2Fapi-authorization-nodejs-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloakn%2Fapi-authorization-nodejs-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helloakn","download_url":"https://codeload.github.com/helloakn/api-authorization-nodejs-mysql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloakn%2Fapi-authorization-nodejs-mysql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30237329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T23:24:20.706Z","status":"ssl_error","status_checked_at":"2026-03-07T23:21:10.486Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","jwt","multi-au","nodejs","nodejs-authorization-middleware"],"created_at":"2024-11-24T01:20:56.826Z","updated_at":"2026-03-07T23:32:30.636Z","avatar_url":"https://github.com/helloakn.png","language":"JavaScript","readme":"# Nodejs API Authorization\n\n[![Star Count](https://img.shields.io/badge/dynamic/json?color=brightgreen\u0026label=Star\u0026query=stargazers_count\u0026url=https%3A%2F%2Fapi.github.com%2Frepos%2Fhelloakn%2Fapi-authorization-nodejs-mysql)](https://github.com/helloakn/api-authorization-nodejs-mysql) [![Licence](https://img.shields.io/badge/dynamic/json?color=informational\u0026label=LICENCE\u0026query=license.name\u0026url=https%3A%2F%2Fapi.github.com%2Frepos%2Fhelloakn%2Fapi-authorization-nodejs-mysql)](https://github.com/helloakn/api-authorization-nodejs-mysql) [![Language](https://img.shields.io/badge/dynamic/json?color=blueviolet\u0026label=Language\u0026query=language\u0026url=https%3A%2F%2Fapi.github.com%2Frepos%2Fhelloakn%2Fapi-authorization-nodejs-mysql)](https://github.com/helloakn/api-authorization-nodejs-mysql)\n\nTutorial How to Create API with multi route prefixs as well as Multi Authorization  in NodeJs\n## Installation\n```\nnpm install\n```\n# .env\nmodify database information in .env as the following sample information.\n```\nSVR_PORT=3003\nSVR_IP=\"0.0.0.0\"\nDB_HOST=localhost\nDB_PORT=3306\nDB_USER=urusername\nDB_PASSWORD=urpassword\nDB_NAME=jwt_tutorial\nALLOW_FROM=http://localhost:3000%\n```\n**ALLOW_FROM** is for admin dashboard application\n## Run the program\n```\nnpm run start\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloakn%2Fapi-authorization-nodejs-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelloakn%2Fapi-authorization-nodejs-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloakn%2Fapi-authorization-nodejs-mysql/lists"}