{"id":14955403,"url":"https://github.com/nejdetkadir/devise-jwt-starter","last_synced_at":"2026-01-20T04:32:01.971Z","repository":{"id":45931597,"uuid":"432257625","full_name":"nejdetkadir/devise-jwt-starter","owner":"nejdetkadir","description":"It is a starter for Ruby on Rails API application with devise gem with devise-jwt extension.","archived":false,"fork":false,"pushed_at":"2021-12-04T17:38:37.000Z","size":67,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T09:43:02.730Z","etag":null,"topics":["devise","devise-gem-extension","devise-jwt","devise-mailer","jwt-authentication","rails-api","rails6","rails6-api","rubyonrails"],"latest_commit_sha":null,"homepage":"https://devise-jwt-starter.herokuapp.com","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nejdetkadir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-26T17:38:47.000Z","updated_at":"2024-04-03T12:53:44.000Z","dependencies_parsed_at":"2022-09-05T10:01:17.516Z","dependency_job_id":null,"html_url":"https://github.com/nejdetkadir/devise-jwt-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/nejdetkadir/devise-jwt-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nejdetkadir%2Fdevise-jwt-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nejdetkadir%2Fdevise-jwt-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nejdetkadir%2Fdevise-jwt-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nejdetkadir%2Fdevise-jwt-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nejdetkadir","download_url":"https://codeload.github.com/nejdetkadir/devise-jwt-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nejdetkadir%2Fdevise-jwt-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28596079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"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":["devise","devise-gem-extension","devise-jwt","devise-mailer","jwt-authentication","rails-api","rails6","rails6-api","rubyonrails"],"created_at":"2024-09-24T13:11:06.422Z","updated_at":"2026-01-20T04:32:01.958Z","avatar_url":"https://github.com/nejdetkadir.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/nejdetkadir/devise-jwt-starter/tree/master.svg?style=svg)](https://circleci.com/gh/nejdetkadir/devise-jwt-starter/tree/master)\n[![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)](https://github.com/rubocop/rubocop)\n![Ruby Version](https://img.shields.io/badge/ruby%20v-3.0.0-blue.svg)\n![Rails Version](https://img.shields.io/badge/rails%20v-6.1.4-blue.svg)\n[![GPLv3 license](https://img.shields.io/badge/license-GPLv3-blue.svg)](LICENSE)\n[![Deployed to Heroku](https://img.shields.io/badge/deployed_to-heroku-9677ba.svg)](https://devise-jwt-starter.herokuapp.com/)\n\n# Devise JWT Starter\nIt is a starter for Ruby on Rails API application with [devise gem](https://github.com/heartcombo/devise) with [devise-jwt](https://github.com/waiting-for-dev/devise-jwt) extension.\n\n# Features\n- Sign in/up/out\n- Send an email when user resetting password.\n- Send an email when user confirming email.\n- Send email when user changed password.\n- Development environment supports [mailcatcher](https://github.com/sj26/mailcatcher) as default.\n- Writed unit tests with [rspec](https://github.com/rspec/rspec-rails).\n- Uses [rubocop](https://github.com/rspec/rspec-rails) with extensions for code analyzing and formatting based on the community Ruby style guide.\n\n# API Endpoints\n| Route | HTTP Verb | Request Body | Header Body | Description |\n| --- | --- | --- | --- | --- |\n| /users | `POST` | ```{user: {email: \"foo@bar.com\", password: \"mypass\", password_confirmation: \"mypass\"}}``` | Empty | Returns authentication bearer token on header |\n| /users/sign_in | `POST` | ```{user: {email: \"foo@bar.com\", password: \"mypass\"}}``` | Empty | Returns authentication bearer token on header |\n| /users/sign_out | `DELETE` | Empty  | Authentication: Bearer Token | Returns sign out message |\n| /users/password | `POST` | ```{user: {email: \"foo@bar.com\"}}```  | Empty | Returns instructions about resetting password  |\n| /users/password | `PATCH` | ```{user: {reset_password_token: \"token\", password: \"securepass\", password_confirmation: \"securepass\"}}```  | Empty | Returns status |\n| /users/confirmation | `POST` | ```{user: {email: \"foo@bar.com\"}}```  | Empty | Returns instructions about confirming password |\n| /users/confirmation/:confirmation_token | `GET` | Empty | Empty | Returns status |\n\n# Installation\n## Prerequisites\n- [Ruby](https://rvm.io/)\n- [PostgreSQL](https://www.postgresql.org/download/)\n- [Mailcatcher](https://github.com/sj26/mailcatcher) (For development)\n\n### Environment variables\nCreate a file named \".env\" in the root directory and fill its contents as follows for production environment.\n```ruby\nDEVISE_JWT_SECRET_KEY=X\nSMTP_MAIL_USERNAME=X\nSMTP_MAIL_PASSWORD=X\nSMTP_MAIL_ADDRESS=X\nSMTP_MAIL_PORT=X\nSMTP_MAIL_DOMAIN=X\nRESET_PASSWORD_URL=X\nCONFIRMATION_EMAIL_URL=X\n```\n\n## For Running\n- Install GEM dependencies:\n  ```bash\n  bundle install\n  ```\n\n- Create database, migrate tables and run the seed data:\n  ```bash\n  rails db:create\n  rails db:migrate\n  rails db:seed\n  ```\n\n- If you are setting up again, when you already have previous databases:\n  ```bash\n  rails db:reset\n  ```\n- For dropping database\n  ```bash\n  rails db:drop\n  ``` \n\n# LICENSE\n```\nGNU GENERAL PUBLIC LICENSE Version 3\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnejdetkadir%2Fdevise-jwt-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnejdetkadir%2Fdevise-jwt-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnejdetkadir%2Fdevise-jwt-starter/lists"}