The main goal is to know the level of our developers by contributing to this very simple application.
git clone [git-repo-rul] pinocchio
cd pinocchio
bundle install
rake db:create db:migrate
rails s
-
Implement authentication from scratch.
- Sign Up by email, password & password confirmation.
- Sign In by email & password.
- Add Sign Out, Sign In, Sign Up links.
- Add profile page. (user information summary)
-
Add picture to post.
- A user can add an image to his post.
- Add column image to each post of the listing.
- Add image to the post page.
- Validate image format png, jpg.
- Validate size < 2 mb.
- Validate presence.
-
Implement commentable posts.
-
Implement ActiveAdmin Panel.
- Add post resource.
-
Implement search.
- Search by title.
-
Implement pagination to the listing of posts.
- 15 posts per page.
-
Implement rate system for posts.
- Add rates count on the post page.
- Add rate button on the post page.
- A post can be rated once per user.
- Sort posts by rating.
-
Implement authorization system.
- A user can manage his posts.
- A user can manage his profile.
- Fork the repository.
- Create a new branch feature/feature-name.
- Add your code.
- Test with capybara & rspec.
- Make a pull request.