{"id":20900313,"url":"https://github.com/jsnomad/adonis-jwt-boilerplate","last_synced_at":"2025-05-13T01:32:15.496Z","repository":{"id":67455283,"uuid":"118329728","full_name":"jsnomad/adonis-jwt-boilerplate","owner":"jsnomad","description":"Adonisjs API JWT Boilerplate","archived":false,"fork":false,"pushed_at":"2018-01-26T06:09:59.000Z","size":19,"stargazers_count":21,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T15:09:58.116Z","etag":null,"topics":["adonisjs","api","boilerplate","jwt","rest"],"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/jsnomad.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":"2018-01-21T11:45:37.000Z","updated_at":"2024-11-16T12:41:38.000Z","dependencies_parsed_at":"2023-02-22T20:16:12.722Z","dependency_job_id":null,"html_url":"https://github.com/jsnomad/adonis-jwt-boilerplate","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/jsnomad%2Fadonis-jwt-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnomad%2Fadonis-jwt-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnomad%2Fadonis-jwt-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnomad%2Fadonis-jwt-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsnomad","download_url":"https://codeload.github.com/jsnomad/adonis-jwt-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253854056,"owners_count":21974217,"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":["adonisjs","api","boilerplate","jwt","rest"],"created_at":"2024-11-18T11:18:55.918Z","updated_at":"2025-05-13T01:32:15.486Z","avatar_url":"https://github.com/jsnomad.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# adonis-boilerplate-jwt\n\nBoilerplate/Starter Project for building RESTful APIs using Adonis, MySQL, JWT authentication.\n\n## Setup\n\nClone the repo then install dependencies :\n\n```bash\nnpm install\n```\n\nCreate .env file :\n\n```bash\ncp .env.example .env\n```\n\n### Migrations\n\nRun the following command to run startup migrations.\n\n```js\nadonis migration:run\n```\n\n### Start\n\nRun the following command to start the HTTP server (dev mode).\n\n```bash\nnpm run dev\n```\n\n### API\n\nRegister\n\n```bash\nPOST /api/v1/auth/register\n{email: 'youremail@gmail.com', password: 'yourpasswod'}\n```\n\nSign-In\n\n```bash\nPOST /api/v1/auth/sign-in\n{email: 'youremail@gmail.com', password: 'yourpasswod'}\n```\n\nRefresh the token\n\n```bash\nPOST /api/v1/auth/token/refresh\n{refresh_token:'REFRESH_TOKEN'}\n```\n\nGet the current user\n\n```bash\nGET /api/v1/user/me\nAuthorization : Bearer YOUR_TOKEN\n```\n\nLogout\n\n```bash\nPOST /api/v1/auth/logout\n{refresh_token:'REFRESH_TOKEN'}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsnomad%2Fadonis-jwt-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsnomad%2Fadonis-jwt-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsnomad%2Fadonis-jwt-boilerplate/lists"}