This is a boilerplate for a Rails API application that uses Devise token auth and Active Admin. It includes the following features:
- User authentication with Devise
- Token-based authentication with Devise token auth
- Admin dashboard with Active Admin
To get started, clone this repository:
Then, install the dependencies:
bundle install
Create a database and run the migrations:
rails db:create
rails db:migrate
Start the server:
rails s
The server will start on port 3000. You can then access the admin dashboard at http://localhost:3000/admin.
- User authentication with Devise
- Users can sign up, sign in, and sign out.
- Users can reset their passwords.
- Token-based authentication with Devise token auth
- Users can generate tokens that can be used to access the API without having to sign in.
- Admin dashboard with Active Admin
- Admin users can manage users, models, and other resources.
If you would like to contribute to this project, please fork the repository and submit a pull request.
This project is licensed under the MIT License.