Giter Site home page Giter Site logo

acebook-isambard's Introduction

Codacy Badge Travis Badge Coverage Status

AceBook

This project uses Ruby Rails, Capybara, RSpec and databases to create the foundations of a social media app.

This is the engineering project outline.

How to View and Use App

  1. Clone this repository.
  2. Run bundle install in your command line to install all gems in the Gemfile.
  3. Run bin/rails db:create in your command line to create the required databases.
  4. Run bin/rails db:migrate in your command line to create the required tables in the databases.
  5. You can view through the url http://localhost:3000/ by running bin/rails server in the command line to start the server.
  6. You can also view through https://acebook-isambard.herokuapp.com/ (recommended).

How to Run Tests

bundle exec rspec in the command line will run the RSpec / Capybara tests.

Model View Controller

alt text

User Stories

USER SIGN-UP

As a user,
so that I don't forget to sign up,
I am redirected to a sign up page unless already signed up.

As a user,
so that I know which details are required when signing up,
I am prompted to enter a email and password.

As a user,
so that I know if my email is valid,
I see a helpful message explaining if my email is not valid.

As a user,
so that I know if my password is valid,
I see a helpful message highlighting the required length of 6-10 characters.

As a user,
so that I know I have signed up successfully,
I want to be redirected to my posts page with a sign up confirmation message.
USER SIGN-IN

As a user,
so that I don't forget to log in,
I am redirected to the index page unless already logged in.

As a user,
so that I can log in,
I can see a 'log in' link which redirects me to a log in page where I am prompted to enter an email and password.

As a user,
so that I know I have entered my email correctly,
I should receive an error message if my email is invalid.

As a user,
so that I know I have logged in successfully,
I want to be redirected to my posts page.
POSTS

As a user, 
so that I can keep up-to-date with the latest feed, 
I want to see the most recent posts first.

As a user, 
so that I can format my posts, 
I want to have the ability to add new lines to posts.

As a user, 
so that I can see when posts were submitted, 
I want to see date that they were created.

As a user, 
so that I can have no regrets, 
I want to delete posts.

As a user, 
so that I can have no regrets, 
I want to update posts.

As a user, 
so that I can interact with friends, 
I want to comment on their posts.

As a user, 
so that I can show my approval, 
I want to like posts / comments via an emoji button.

As a user, 
who will soon have no friends, 
I want to see the number of likes next to the like emoji.

As a user, 
so that I don't spam my friends with likes, 
I want to be able to like each post / comment only once.

As a user, 
so that I have a seamless user experience, 
I want the browser not to refresh when liking posts / comments.

acebook-isambard's People

Contributors

ayelishaamoah avatar dbugsy avatar dearshrewdwit avatar hannah-frost avatar jo-quin avatar kintaro-oe avatar maxrobertsdear avatar neoeno avatar xa1n avatar

Stargazers

 avatar  avatar

Watchers

 avatar

acebook-isambard's Issues

Implement email validation

As a user,
so that I know if my email is valid,
I see a helpful message explaining if my email is not valid.

Password length validation

As a user,
so that I know if my password is valid,
I see a helpful message highlighting the required length.

Confirm successful sign up

As a user,
so that I know I have signed up successfully,
I want to be redirected to a page confirming my sign up.

Add link to sign in page

As a user,
so that I can sign in,
I can see a link redirecting to a page where I am prompted to enter a email and password.

README.md needs updating!

Change link to model view controller image to an updated link so it works.

Add the heroku server url to number 6 on the 'how to use' instructions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.