{"id":20811014,"url":"https://github.com/mrmodise/deploy-loopback-4-app-in-heroku","last_synced_at":"2026-04-28T04:33:52.707Z","repository":{"id":150701574,"uuid":"354788404","full_name":"mrmodise/deploy-loopback-4-app-in-heroku","owner":"mrmodise","description":"Demo to illustrate how to deploy a LoopBack 4 application in Heroku","archived":false,"fork":false,"pushed_at":"2021-04-05T11:18:23.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-18T14:44:15.223Z","etag":null,"topics":["heroku-deployment","herokuapp","loopback4"],"latest_commit_sha":null,"homepage":"https://more-modise.medium.com/how-to-deploy-loopback-4-application-in-heroku-3d059b73cbd5","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrmodise.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2021-04-05T09:53:16.000Z","updated_at":"2021-06-07T04:56:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"61c90791-83c6-40e3-881a-a642c5d61c33","html_url":"https://github.com/mrmodise/deploy-loopback-4-app-in-heroku","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/mrmodise%2Fdeploy-loopback-4-app-in-heroku","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmodise%2Fdeploy-loopback-4-app-in-heroku/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmodise%2Fdeploy-loopback-4-app-in-heroku/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmodise%2Fdeploy-loopback-4-app-in-heroku/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrmodise","download_url":"https://codeload.github.com/mrmodise/deploy-loopback-4-app-in-heroku/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243158971,"owners_count":20245669,"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":["heroku-deployment","herokuapp","loopback4"],"created_at":"2024-11-17T20:35:37.197Z","updated_at":"2025-12-27T07:32:45.380Z","avatar_url":"https://github.com/mrmodise.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @loopback/example-todo-jwt\n\nThis is a modified LoopBack 4\n[Todo application](https://github.com/strongloop/loopback-next/tree/master/examples/todo)\nwith JWT authentication, using the `@loopback/authentication-jwt` extension.\n\n## Overview\n\nThis tutorial demonstrates how to add JWT authentication to the\n[Todo application](https://github.com/strongloop/loopback-next/tree/master/examples/todo).\n\n## Usage\n\nStart the application by running npm start and go to\nhttp://localhost:3000/explorer. You’ll see the 3 new endpoints under\n`UserController` together with the other endpoints under `TodoController`.\n\n![API Explorer screeshot](https://loopback.io/pages/en/lb4/imgs/auth-tutorial-apiexplorer.png)\n\n1. Sign up using the/signup API\n\n   Since we don’t have any users created, click on `POST /signup`. For the\n   requestBody, the minimum you need is `email` and `password`. i.e.\n\n   ```json\n   {\n     \"email\": \"testuser2@abc.com\",\n     \"password\": \"testuser2\"\n   }\n   ```\n\n2. Log in using thePOST /users/login API\n\n   After calling /users/login , the response body will look something like:\n\n   ```json\n   {\n     \"token\": \"aaaaaaaaa.aaaaaaaaaaaaaaaaa\"\n   }\n   ```\n\n   Copy the token. Go to the top of the API Explorer, click the “Authorize”\n   button.\n\n   ![API Explorer with Authorize Button](https://loopback.io/pages/en/lb4/imgs/auth-tutorial-auth-button.png)\n\n   Paste the token that you previously copied to the “Value” field and then\n   click Authorize.\n\n   ![authorize dialog](https://loopback.io/pages/en/lb4/imgs/auth-tutorial-jwt-token.png)\n\n   In the future API calls, this token will be added to the `Authorization`\n   header .\n\n3. Get all todos using `GET /todos` API You should be able to call this API\n   successfully.\n\n## Contributions\n\n- [Guidelines](https://github.com/strongloop/loopback-next/blob/master/docs/CONTRIBUTING.md)\n- [Join the team](https://github.com/strongloop/loopback-next/issues/110)\n\n## Tests\n\nRun `npm test` from the root folder.\n\n## Contributors\n\nSee\n[all contributors](https://github.com/strongloop/loopback-next/graphs/contributors).\n\n## License\n\nMIT\n\n[![LoopBack](\u003chttps://github.com/strongloop/loopback-next/raw/master/docs/site/imgs/branding/Powered-by-LoopBack-Badge-(blue)-@2x.png\u003e)](http://loopback.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmodise%2Fdeploy-loopback-4-app-in-heroku","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrmodise%2Fdeploy-loopback-4-app-in-heroku","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmodise%2Fdeploy-loopback-4-app-in-heroku/lists"}