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.
5.5 hours. Cut off time is 4pm. *Of course you can order delivery/get someone to takeaway lunch to earn extra hour...
- First,
fork this repository
andgit clone
it to your local machine. - Wireframe and design your database structure.
- Start coding!
- 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.
- Once done, inform a mentor about your completion, slack us your github repo address.
- Demo your app and walk the mentor through your code to show an understanding of the concepts.
- Not spend too much time beautifying the app at the moment; focus on delivering a functional app within the given timeframe.
- Work on app requirements from top to bottom, as the difficulty increases in top-down design.
Your app has to be a working app, with the capabilities as listed below:
- User is able to create an account (sign up)
- User is able to view their own facebook profile
- User is able to view other users' profiles
- User is able to edit only their own profile
- User is able to log into an account (sign in)
- User is able to log out from an account (sign out)
- User is able to (C) CREATE status (140 char max)
- User is able to (R) VIEW a single status of a followed facebook friend
- User is able to (R) view all statuses by any followed facebook friend
- User is able to (U) UPDATE only their own statuses
- User is able to (D) DELETE only their own statuses
- User is able to (C) CREATE a LIKE on a friend's status
- User is able to (R) VIEW how many LIKES on a friend's status
- User is able to UN-LIKE their friend's statuses if user changed his/her mind
- User is able to add other users as friends
- User can see list of own facebook friends
- User can see how many facebook friends your friend has