Idea to App Part 2

Hackathon:

Design For Good

This Saturday, starting at 4 PM

ending on Sunday at noon

Located in the Woz

Prizes for best beginner hacks too!

Logistics

HW 1 & 2 are graded

Project 2 Specs Released

Find Group before Spring Break

Quitter!

Continuing

Quitter

  • Twitter for quitters

Idea

  1. People can post about what they are quitting
  2. Admins moderate posts to make sure they are appropriate

For the future!

Roadmap

Step 1

User/Post models

Step 2

User auth

Step 3

Validations + Associations

Roadmap

Step 4

Seeds, Routes

User Show, Index

Step 5

Edit, Update Quit

Step 6

New, Create Quit

No Authorization!

  • So anyone can do anything they want :(

 

  • Think about how you could limit the tasks a user can do

 

  • Will see again when we create admins!

Solve this with cancancan

  • Community backed gem that restricts access
  • Most of the logic is done through "cans" in ability.rb
  • Seen more in lecture

Heroku

  • How we can host our web application so anyone can have access to it
  • Documentation here
  • Used because there is a minimal amount of configuration needed