Giter VIP home page Giter VIP logo

facebook-clone's Introduction

Facebook Sinatra Assessment

This is a question repo for testing your web server understanding related to Ruby. You'll be building a clone of Facebook, focusing on the backend server application. The goal of the assessment is to test your understanding of Active Record, Active Record Relationships and Associations, RESTFUL Routes and MVC through the use of the Sinatra framework, and thus the usage of Active Record, RESTFUL Routes and MVC is a requirement.

Duration

5.5 hours. Cut off time is 4pm. *Of course you can order delivery/get someone to takeaway lunch to earn extra hour...

What You Will Need to Do

  1. First, fork this repository and git clone it to your local machine.
  2. Wireframe and design your database structure.
  3. Start coding!
  4. Commit your code as often as possible into your own forked repository.
  • git add .
  • git commit -m "login feature is added" (for example, commit message according to added feature)
  • git push origin master.
  1. Once done, inform a mentor about your completion, slack us your github repo address.
  2. Demo your app and walk the mentor through your code to show an understanding of the concepts.

Tips

  1. Not spend too much time beautifying the app at the moment; focus on delivering a functional app within the given timeframe.
  2. Work on app requirements from top to bottom, as the difficulty increases in top-down design.

Requirements

Your app has to be a working app, with the capabilities as listed below:

Users

  1. User is able to create an account (sign up)
  2. User is able to view their own facebook profile
  3. User is able to view other users' profiles
  4. User is able to edit only their own profile

Sessions

  1. User is able to log into an account (sign in)
  2. User is able to log out from an account (sign out)

Statuses

  1. User is able to (C) CREATE status (140 char max)
  2. User is able to (R) VIEW a single status of a followed facebook friend
  3. User is able to (R) view all statuses by any followed facebook friend
  4. User is able to (U) UPDATE only their own statuses
  5. User is able to (D) DELETE only their own statuses

Likes

  1. User is able to (C) CREATE a LIKE on a friend's status
  2. User is able to (R) VIEW how many LIKES on a friend's status
  3. User is able to UN-LIKE their friend's statuses if user changed his/her mind

Facebook Friend

  1. User is able to add other users as friends
  2. User can see list of own facebook friends
  3. User can see how many facebook friends your friend has

Good Luck!

facebook-clone's People

Contributors

bestofthesoul avatar jgcy avatar kevin118 avatar

Watchers

James Cloos avatar  avatar

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.