/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!

Primary LanguageRubyMIT LicenseMIT

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.