Rails application that allows users to post photos to their friends and see what their friends have posted via a shared newsfeed.
To build a Rails application from the ground up without scaffolding to truly learn what mystical sorcery Rails is performing under the hood.
git clone path-to-your-repo
bundle install
bin/rails server
Navigate to http://localhost:3000/
For feature tests, tested with Capybara:
rspec spec/features -fd
As a user,
I want to post pictures of my life,
So that my friends and family can see what I am up to.
As a user,
I want my friends and family to be able to comment on my pictures,
So that we can communicate about my picture.
As a user,
I want my friends and family to be able to 'like' my pictures,
So that I can get a sense of how popular my picture is.
- User:
- User has a username [x]
- User has a password [x]
- User can sign up [x]
- User can login [x]
- User can logout [x]
- Post:
- Post has a caption [x]
- Post has a picture [x]
- Post belongs to User / User has many posts [x]
- User can create posts [x]
- User can click onto an individual post [x]
- User can edit posts [x]
- User can delete posts [x]
- User can see all posts, including those from other users [x]
- Comment:
- Comment has a text area
- Comment belongs to Post / Post has many comments
- User can comment on posts from other users
- User can see their own comments
- User can edit their own comments
- User can delete their own comments
- Like:
- Like has a boolean data type
- Like belongs to Post
- User can like posts from other users
- User can unlike posts that they have previously liked