Makers Academy - Week 8/9 Team programming challenge
Link to App - https://offtherails-acebook.herokuapp.com/
Task | Collaborators | Installation Instructions | User Stories | Mockup | Further improvements
Build a facebook clone using Rails that allows users to sign up, log in and make posts.
This challenge is the second team programming challenge at Makers Academy.
in order to update the Heroku db after changing a migration please run the following command:
$ heroku run rails db:reset -a offtherails-acebook DISABLE_DATABASE_ENVIRONMENT_CHECK=1
After pulling from the maser repository. If there are database changes then:
> bin/rails db:drop
> bin/rails db:create
> bin/rails db:migrate
First, clone this repository. Then:
> bundle install
> bin/rails db:create
> bin/rails db:migrate
> bundle exec rspec # Run the tests to ensure it works
> bin/rails server # Start the server at localhost:3000
To run tests:
> rspec # Run the tests
> rubocop # Check code quality
As a user,
So I can log into Acebook,
I would like to create an account
As a user,
So that I don't accidentally type in the wrong email,
I would like an error message if I type a non-valid email
As a user,
So my account is secure,
I would like to enter a password of 6-10 characters
As a user,
To use the site,
I would like to be redirected ot posts after logging in/signing up
As a user,
So that only I can post stories with my ID,
I want users that are not logged in to be directed to log in
As a user,
So I prove my identity,
I want to be able to enter my email and passwords
As a user,
To share what I'm up to,
I would like to be able to make a post
As a user,
In order to correct mistakes,
I would like to be able to edit my posts up to 10 mins after they were created
As a user,
So I can't update/delete other peoples posts (like an idiot),
I would like to see a helpful error message
As a user,
To know the context of a post,
I would like to see the date, time and author of a post
As a user,
So I can be kept up to date,
I would like to see the most recent posts first
As a user,
So that my posts are easy to read,
I would like to be abe to make posts using line breaks
As a user,
So I can create, update and delete records,
I need to be able to login
As a user,
To see if I'm signed in,
I want see a message alerting me if my signin authenitication failed
As a user,
To interact with my Acebook when signed in,
I want to go to /posts and submit new posts without the page refreshing
As a user,
To interact with my Acebook when signed in,
I want go to /posts and comment on posts without the page refreshing
As user,
To interact with my Acebook when signed in,
I want go to /posts and like a post or comment without the page refreshing
As user,
To interact with my Acebook when signed in,
I can only update/delete my own posts/comments.
- Styling
- More features