Build Reddit (bookmarks and voting in ASP.NET MVC using Forms and relationships)
After completing this assignment, you should…
- Be able to utilize Forms in MVC
- Be able to add custom routes to your resources
- Be able to use migrations to update a database
After completing this assignment, you be able to effectively use
- Modeling Data
- Publishing on Azure
- A mvc app repo with:
- asp.net mvc 4.5.2
- functional migrations
- A link to a live azure instance
- Reddit is "User-generated news links. Votes promote stories to the front page."
- Each Link should have a "number of positive votes" column
- The homepage should order by the most number of votes
- Clicking on a link should increment positive vote
Normal mode is a simple, naive, implementation of Redit
- Clicking "DOWN" should create a negative vote
- Add a
User
whoHasManyLinks
- When submitting a link, allow user to select themselves in a drop down
- Check the Links for unique URLs (i.e. don't allow double posting)
- Make the user sign in using the 'individual accounts` option when creating your project
- Add Controller testing and Acceptance testing to verify a user clicking a link creates the votes you expect