https://github.com/rustam-tolipov/rails-7-api-devise-jwt-auth
Using Devise and JSON Web Tokens (JWT), our reusable API enables safe user authentication. Built with Rails-API for easy integration and increased security. Simplify user authentication in your projects with easy!
https://github.com/rustam-tolipov/rails-7-api-devise-jwt-auth
devise jwt rails-api
Last synced: 3 months ago
JSON representation
Using Devise and JSON Web Tokens (JWT), our reusable API enables safe user authentication. Built with Rails-API for easy integration and increased security. Simplify user authentication in your projects with easy!
- Host: GitHub
- URL: https://github.com/rustam-tolipov/rails-7-api-devise-jwt-auth
- Owner: rustam-tolipov
- License: mit
- Created: 2023-02-09T16:55:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-17T18:04:20.000Z (about 2 years ago)
- Last Synced: 2025-02-03T11:18:38.730Z (5 months ago)
- Topics: devise, jwt, rails-api
- Language: Ruby
- Homepage:
- Size: 517 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rails 7 API with Devise and JWT Authentication
This is a reusable API implementation for authenticating users using Devise and JSON Web Tokens (JWT).
## Getting Started
1. Clone this repository
2. Modify the `.env.example` file to match your project's environment and rename it to `.env`.
3. Run `rake secret` to generate a secret key and add it to the `.env` file.
4. Run `rails db:reset` to create and reset the database.
5. Run `rspec spec` to run the tests and make sure everything is working correctly.
6. Start the Rails server with `rails server` and begin building your API.## License
This API is licensed under the [MIT License](LICENSE.txt).