Git Product home page Git Product logo

acebook-facebuzz's People

Contributors

alecdwalker avatar dbugsy avatar dearshrewdwit avatar domtunstill avatar john-dennehy avatar kurianvijay avatar melvinlau avatar neoeno avatar ollyholly avatar

Stargazers

 avatar  avatar

Watchers

 avatar

acebook-facebuzz's Issues

Users can sign up

Acceptance Criteria

When a user hasn't signed up and visits the index of the application:

  • if they visit another URL, they are redirected to the index
  • they can see a sign up page which prompts them to enter in their email address and password.
  • they can only enter valid emails, otherwise they see helpful information to indicate why the email was not valid
  • they can only enter passwords between 6-10 characters, otherwise they see helpful information to indicate why the password was not valid
  • When they submit their details, they are logged in and redirected to their posts page with a message saying they were successful signing up

Resources

Rails: Look into https://github.com/plataformatec/devise as a way of doing this

User can add comments to the posts.

Test-drive CRUD features for Comments.
Time estimate: 1 day (Thursday 7 Nov, 9:30am)

Fields

  • id
  • post id
  • message
  • user id
  • time created
  • time updated

REQUIRED: Add CI/CD [MEDIUM]

Choose one of the following:

  • travis
    circleci
    jenkins
    codeship

Merge to master should run tests and deploy to prod

  • Assuming tests pass, master should deploy to heroku/aws

Posts can be ā€˜likedā€™

DESCRIPTION

  • Posts and comments can be ā€˜likedā€™ and the number of likes is visible next to the post or comment

ACCEPTANCE CRITERIA

  • A signed in user can:
  • click on a ā€˜likeā€™ emoji next to posts and comments to indicate a like, and can then click on it to remove that like.
  • a count of likes shows next to the like emoji
  • Users can like each post only once

Wall id migration

  • Add wall id to posts table

  • fix tests related to posting that will fail

Users can update and delete their own posts

Pre-requisites

Users can sign up

Acceptance Criteria

  • A non-signed-in user will be redirected to the index page.
  • A signed-in user can:
  • update their own posts for a maximum of 10 mins after they're created.
  • see a helpful error message if they try to update another user's post
  • delete their own posts.
  • see a helpful error message if they try to delete another user's post

Requirements

Individual User Walls

DESCRIPTION

Users love your app so much they want to feel like they have their own space to manage on your social media platform!

ACCEPTANCE CRITERIA

  • User is redirected to their wall when they log in
    /:user_id
  • User can go to any /:user_id to see each userā€™s wall
  • User canā€™t see any other userā€™s wall without logging in, User is redirected to login page
  • User can see other usersā€™ wall when logged in
  • User can post on any userā€™s wall and the post only appears on that userā€™s wall
  • User can not update or delete posts or comments apart from their own (on any wall)

FURTHER CHALLENGE:

  • If the User doesnā€™t exist, handle requests to /:user_id by redirecting to a custom 404 page saying that the user doesnā€™t exist
  • The Userā€™s username can also be used to form the URL
    /:username

Users can sign in

Pre-requisites

Acceptance Criteria

When a user hasn't signed in and visits the index of the application:

  • if they visit another URL, they are redirected to the index
  • they can see a link to a sign in page which prompts them to enter in their email address and password.
  • they can only enter valid emails
  • When they submit their details, they are logged in and redirected to their posts page.

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.