{"id":21664060,"url":"https://github.com/deepurai/integrating-sequelize-orm-and-json-webtoken-in-nodejs","last_synced_at":"2025-03-20T06:18:11.698Z","repository":{"id":135333636,"uuid":"187249246","full_name":"deepuRai/Integrating-Sequelize-ORM-and-Json-webtoken-in-NodeJs","owner":"deepuRai","description":"Download zip file and extract it. To test please follow below steps :-    Step 1:- Register test user using below url   http://localhost:3000/api/users and pass below paramters in body(x-www-form-urlencoded)  firstname :- test lastname :- test email :- test@test.com password :- 1234 role :- 1   Step 2:- Hit login api using http://localhost:3000/api/signin to generate json token. you will see below response   {     \"auth\": true,     \"accessToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNTU4MTEwMTk1LCJleHAiOjE1NTgxOTY1OTV9.jDtvXgBOdtoOHrQxHxFDpMTlhW8vkMq1yWde_hJz1VM\" }  Step 3 :- Now create a sample post using http://localhost:3000/api/post. Please send above token in header request(x-access-token -- eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNTU4MTEwMTk1LCJleHAiOjE1NTgxOTY1OTV9.jDtvXgBOdtoOHrQxHxFDpMTlhW8vkMq1yWde_hJz1VM) and sample post data in body(x-www-form-urlencoded) with below parameter  title :- sample post title description :- sample post description","archived":false,"fork":false,"pushed_at":"2019-05-17T16:34:21.000Z","size":9717,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T07:41:44.521Z","etag":null,"topics":["nodejs","nodejs-jwt","nodejs-orm","sequelize"],"latest_commit_sha":null,"homepage":null,"language":null,"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/deepuRai.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-05-17T16:30:20.000Z","updated_at":"2020-01-23T18:02:57.000Z","dependencies_parsed_at":"2024-04-18T23:45:24.976Z","dependency_job_id":null,"html_url":"https://github.com/deepuRai/Integrating-Sequelize-ORM-and-Json-webtoken-in-NodeJs","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/deepuRai%2FIntegrating-Sequelize-ORM-and-Json-webtoken-in-NodeJs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepuRai%2FIntegrating-Sequelize-ORM-and-Json-webtoken-in-NodeJs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepuRai%2FIntegrating-Sequelize-ORM-and-Json-webtoken-in-NodeJs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepuRai%2FIntegrating-Sequelize-ORM-and-Json-webtoken-in-NodeJs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepuRai","download_url":"https://codeload.github.com/deepuRai/Integrating-Sequelize-ORM-and-Json-webtoken-in-NodeJs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244560392,"owners_count":20472220,"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":["nodejs","nodejs-jwt","nodejs-orm","sequelize"],"created_at":"2024-11-25T10:31:39.389Z","updated_at":"2025-03-20T06:18:11.676Z","avatar_url":"https://github.com/deepuRai.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Integrating-Sequelize-ORM-and-Json-webtoken-in-NodeJs\nDownload zip file and extract it. To test please follow below steps :- \n\n\nStep 1:- Register test user using below url \n\nhttp://localhost:3000/api/users and pass below paramters in body(x-www-form-urlencoded)\n\nfirstname :- test\nlastname :- test\nemail :- test@test.com\npassword :- 1234\nrole :- 1\n\n\nStep 2:- Hit login api using http://localhost:3000/api/signin to generate json token. you will see below response \n\n{\n    \"auth\": true,\n    \"accessToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNTU4MTEwMTk1LCJleHAiOjE1NTgxOTY1OTV9.jDtvXgBOdtoOHrQxHxFDpMTlhW8vkMq1yWde_hJz1VM\"\n}\n\nStep 3 :- Now create a sample post using http://localhost:3000/api/post. Please send above token in header request(x-access-token -- eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNTU4MTEwMTk1LCJleHAiOjE1NTgxOTY1OTV9.jDtvXgBOdtoOHrQxHxFDpMTlhW8vkMq1yWde_hJz1VM) and sample post data in body(x-www-form-urlencoded) with below parameter\n\ntitle :- sample post title\ndescription :- sample post description\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepurai%2Fintegrating-sequelize-orm-and-json-webtoken-in-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepurai%2Fintegrating-sequelize-orm-and-json-webtoken-in-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepurai%2Fintegrating-sequelize-orm-and-json-webtoken-in-nodejs/lists"}