This Rails boilerplate provides a solid foundation for building online applications with essential features such as user authentication, authorization, and a clean front-end design using Tailwind CSS.
-
User Authentication: Devise is integrated to handle user registration, sign-in, sign-out, and password reset functionalities.
-
Authorization: Pundit is implemented for managing user permissions and access control.
-
Front-end Styling: Tailwind CSS is set up as the default styling framework to create modern and responsive user interfaces.
-
jQuery: jQuery is included to simplify front-end interactions and enhance user experience.
-
Database: PostgreSQL is used as the default database, but you can easily switch to another database of your choice.
-
Rails 7: This boilerplate is built on Rails 7, harnessing the latest features and improvements.
-
Ready to go Set up: With simple, minimalistic sign-in / sign-up pages and a navbar with some generic buttons and a working dropdown, you don't need to lose time creating a working place on the front-end side. You can start working as soon as you clone this repo and worry about the front-end design later.
Follow these steps to get started with this boilerplate:
- Clone the repository to your local machine:
gh repo clone UmutAkturk14/rails-template-pundit-tailwind project-name
cd project-name
- Install the required gems:
bundle install
- Run database migrations:
rails db:migrate
- Start the server:
dev
- Access the application in your web browser at http://localhost:3000.
-
Customize the application by adding your own controllers, models, and views.
-
Update the policies to define and enforce authorization rules as needed for your application.
-
Extend the application's functionality according to your project requirements.