layout | navigation_weight | permalink | title |
---|---|---|---|
default |
5 |
/project3/ |
Project 3 |
In this project you will learn how to setup a basic Ruby on Rails app. The app will be a small twitter-like app with the list of users who can create new posts and comment on the existing posts. One user will have many posts, and one post can have many comments. Each comment belongs to the user and the post.
-
Student was able to create a functional RoR app
-
Student used MVC pattern to create three interconnected resources
-
Student has implemented CRUD operations
-
Student demonstrated the app and its functionality in a 3min video
-
Navigating to the
/users
endpoint will list allusers
in your app -
Navigating to the
/users/:id
will show the page with the information about theuser
with the givenid
- Returns 404 if the id was not found.
-
From the browser, you can create the user
-
From the browser, you can update the user
-
From the browser, you can delete the user
-
There is a validation error for incorrect create or update action
- E.g. Each user has to have an email and an error is displayed if this required value is not provided
-
Users index page (
/users
) shows the list of all the users; for each user it shows the list of all posts that belong to the given user and for each post it shows all the comments that belong to the post.
The Ruby On Rails Tutorial
Complete 3rd edition available online