This project is a photo sharing app similar to Instagram. User's are able to post photos with descriptions and edit/delete posts. I built the login feature without a gem as a way to explore user authentication. This is my first solo Rails project and I'm currently working to include additional features like login and user profiles.
- Created a User class with name, email and password attributes
- Add validations for email address (checks that @ symbols is in correct place, length isn't too long)
- Add validations for password (length isn't too short)
- Use Rails build in function has_secure_password to set and authenticate against a BCrypt password
- Create view for User Sign Up
Use Ruby 2.5.1
$ git clone https://github.com/JenStrong/postagram.git
$ cd postagram
$ bundle install
$ bin/rails db:setup
$ bin/rails server
$ bin/rails test
As a user,
So I can share my photography,
I would like to post an image to the site
As a user,
So I can give my friends more information,
I would like to add a description to my post
As a user,
So people know which posts are mine,
I would like to sign up
As a user,
So that I can revisit Postagram,
I would like to log in
As a user,
So that other people don't post on my account,
I would like to log out
As a user,
So I know who made each post,
I would like to see the name of the user next to their post