Coder Social home page Coder Social logo

jas-singh-code / fullstack_ourspace Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 2.17 MB

Ourspace, a clone of Facebook, allows signed-up users to post pictures and text, comment on posts, edit/delete comments, like posts and comments, friend other users, and customize their profile page.

Home Page: https://ourspace-1.herokuapp.com/#/

Ruby 22.12% JavaScript 55.62% HTML 2.52% CoffeeScript 0.53% SCSS 19.21%
aws-s3 postgresql react reactjs redux ruby-on-rails software-engineering

fullstack_ourspace's People

Contributors

jas-singh-code avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

masterbulla

fullstack_ourspace's Issues

Sample State Design Doc Reviews

Hey Jaspreet! Sample state looking good, some suggestions below:

Sample State

  • likes doesn't need its own slice of state, instead have a liker_ids key-value pair that holds an array of liker ids for a post or comment.

Everything else looks good. Make sure to get in backend and frontend route design docs!

MVP & Schema Design Docs Review

Hey Jaspreet! Design docs looking good, some suggestions below:

MVP

  • Everything looks good here!

Schema

  • no need for a liker_id or comment_id on the posts table as posts will have many likes and comments
  • comments table should have a post_id for now. Consider eventually creating functionality for comments to be able to be commented on also (Reddit Clone is a great project to reference for that).
  • likes table should have a polymorphic association so a user can like either a comment or a post. Take a look at the Rails documentation on polymorphic associations.
  • friendships table should have 2 foreign keys that reference the friend requester and the friend request receiver. Consider adding a pending boolean column for users to be able to accept or decline friend requests.

Great work!

User Auth

User Auth

Functionality

  • The main button with logo should link to /
  • Has working demo login
  • Smooth, bug free navigation

Before Login

  • The /login page should not display a link to Log In. Same for /signup
  • Going to a random route /#/oweiniouewbrviuwebv should redirect or display a 404 page
  • Errors should display for both /signup and /login.
  • Errors should clear when moving between /signup and /login.
  • Can sign up a user
  • Can sign in as a user
  • Can log out a user
  • Can't sign up with the same username/email
  • Pressing enter after filling out the session form should use the form data, not the demo user

After Login

  • Should not be able to visit /login or /signup
  • Should be able to refresh the page and still be logged in

Style

  • The site should look exactly like the actual site
  • All relevant elements should have cursor: pointer on hover
  • When errors are displayed, most elements should not move around the page (particularly input boxes)
  • Remove Redux logger and all console.log()'s from production

Seeds

  • Adequate and appropriate seeds

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.