{"id":18422288,"url":"https://github.com/zett-8/node-auth-api","last_synced_at":"2026-04-29T23:31:59.048Z","repository":{"id":39410198,"uuid":"264735585","full_name":"zett-8/node-auth-api","owner":"zett-8","description":"REST/GraphQL API Sample, with sequelize, passport, jwt auth","archived":false,"fork":false,"pushed_at":"2023-03-04T19:35:13.000Z","size":2199,"stargazers_count":0,"open_issues_count":22,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-04T13:34:57.995Z","etag":null,"topics":["express","graphql","jwt","node","passport","sequelize"],"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/zett-8.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":"2020-05-17T18:55:11.000Z","updated_at":"2021-11-10T14:35:32.000Z","dependencies_parsed_at":"2024-11-06T04:30:46.708Z","dependency_job_id":"be7e301e-e6b3-482f-948b-95b774c3a957","html_url":"https://github.com/zett-8/node-auth-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zett-8/node-auth-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zett-8%2Fnode-auth-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zett-8%2Fnode-auth-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zett-8%2Fnode-auth-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zett-8%2Fnode-auth-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zett-8","download_url":"https://codeload.github.com/zett-8/node-auth-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zett-8%2Fnode-auth-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32448399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"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":["express","graphql","jwt","node","passport","sequelize"],"created_at":"2024-11-06T04:28:56.158Z","updated_at":"2026-04-29T23:31:59.017Z","avatar_url":"https://github.com/zett-8.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node Api Server With JWT Auth\n\n## Auth\n- Passport\n- Passport-JWT\n\n## JWT\n![jwt](https://github.com/Zett-8/images/blob/master/jwt/jwt.png)\n\n## Testing\n- Jest\n- Supertest\n\n## DB\n- Sequelize\n\n#### memo \ncreate model\n```terminal\nnpx sequelize-cli model:generate --name User --attributes firstName:string,lastName:string,email:string\n```\n\nmake migration file\n```terminal\nnpx sequelize-cli migration:generate --name migration-user\n```\n\nrun migrate\n```terminal\nnpx sequelize-cli db:migrate\n```\n\nundo migrate\n```terminal\nnpx sequelize-cli db:migrate:undo\nnpx sequelize-cli db:migrate:undo:all\n```\n\ncreate seed file\n```terminal\nnpx sequelize-cli seed:generate --name demo-user\n```\n\nadded seeds\n```terminal\nnpx sequelize-cli db:seed:all\n```\n\nundo seeds\n```terminal\nnpx sequelize-cli db:seed:undo\nnpx sequelize-cli db:seed:undo:all\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzett-8%2Fnode-auth-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzett-8%2Fnode-auth-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzett-8%2Fnode-auth-api/lists"}