A Ruby on Rails blog application featuring robust user and permissions management through CanCanCan. The app allows users to create, manage, and interact with blog posts and comments, with role-based access control.
-
User Authentication and Authorization:
- Public Access: All users can read any post.
- Authenticated Users: Can create and manage their own posts and comments.
- Admin Users: Have full control over all posts and comments, including management of other users’ content.
-
Post Management:
- Create, Edit, and Delete Posts: Users can manage their own posts, while admins can manage all posts.
- Categorization: Supports categorizing posts based on user-defined criteria.
-
Comment Management:
- Create and Manage Comments: Users can create comments on posts. Authors can manage their own comments, while admins can manage all comments.
-
Role-Based Access Control:
- Uses CanCanCan for defining user permissions, allowing fine-grained control over what users can do based on their role.
-
Responsive Design: Designed with a focus on user experience across different devices.
- Ruby on Rails
- PostgreSQL
- CanCanCan for authorization
To get a local copy up and running follow these simple example steps.
If you dont have Ruby installed on your computer, you can download it from here. Once you have installed ruby, you can follow this list:
$ git clone https://github.com/PinkMoon25/blog-webapp.git
you@your-Pc-name:~$ cd <folder>
bundle install
rails s
👤 Tushar Singh
- GitHub: @PinkMoon25
- Twitter: @twitterhandle
- LinkedIn: LinkedIn
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.