{"id":17456308,"url":"https://github.com/guerreiropedr0/api-authentication","last_synced_at":"2026-04-30T06:36:51.736Z","repository":{"id":159926749,"uuid":"634370164","full_name":"guerreiropedr0/api-authentication","owner":"guerreiropedr0","description":"This is a Rails API template with built-in authentication using Devise and Devise JWT. It includes best practices for building APIs with Rails, such as versioning and namespacing. Use this template as a starting point for your own API projects that require user authentication and authorization. ","archived":false,"fork":false,"pushed_at":"2023-05-01T15:54:01.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T05:27:50.245Z","etag":null,"topics":["api","authentication","authorization","rails"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guerreiropedr0.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-29T22:28:58.000Z","updated_at":"2023-04-29T23:28:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"7cb9dcbf-516a-408b-af9a-81098c8af5b9","html_url":"https://github.com/guerreiropedr0/api-authentication","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/guerreiropedr0/api-authentication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guerreiropedr0%2Fapi-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guerreiropedr0%2Fapi-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guerreiropedr0%2Fapi-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guerreiropedr0%2Fapi-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guerreiropedr0","download_url":"https://codeload.github.com/guerreiropedr0/api-authentication/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guerreiropedr0%2Fapi-authentication/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259695307,"owners_count":22897514,"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":["api","authentication","authorization","rails"],"created_at":"2024-10-18T02:42:51.495Z","updated_at":"2026-04-30T06:36:51.711Z","avatar_url":"https://github.com/guerreiropedr0.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API Authentication Template\n\nThis is a Rails API template with built-in authentication. Use it as a starting point for your own API projects.\n\n## Getting Started\n\nTo get started with this API authentication template, follow these steps:\n\n1. Clone the repository to your local machine:\n```\ngit clone https://github.com/guerreiropedr0/api-authentication.git\n```\n2. Install the required gems:\n```\nbundle install\n```\n\n3. Set up the database:\n```\nrails db:create\nrails db:migrate\n```\n\n4. Start the server:\n```\nrails s\n```\n\nYou should now be able to access the API at http://localhost:3000.\n\n## Features\n\nThis API authentication template includes the following features:\n\n- User authentication and authorization with [Devise](https://github.com/heartcombo/devise)\n- Token-based authentication with [Devise-JWT](https://github.com/waiting-for-dev/devise-jwt)\n- CORS configuration for cross-domain requests\n- Rails API best practices, including versioning and namespacing\n\n## Usage\n\nTo use this API authentication template for your own project, you should:\n\n1. Change the name of the Rails application in `config/application.rb`\n2. Change the name of the database in `config/database.yml`\n3. Customize the authentication and authorization settings in `config/initializers/devise.rb` and `app/models/ability.rb`\n4. Modify the sample CRUD endpoints and add your own endpoints for your own resources\n5. Deploy your API to a production server and configure your client to use the correct API endpoint\n\n## Contributing\n\nContributions are welcome! If you find a bug or want to suggest a feature, please open an issue. If you want to contribute code, please fork the repository and submit a pull request.\n\n## License\n\nThis API authentication template is licensed under the MIT License. See the `LICENSE` file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguerreiropedr0%2Fapi-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguerreiropedr0%2Fapi-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguerreiropedr0%2Fapi-authentication/lists"}