Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.53 KB

File metadata and controls

30 lines (18 loc) · 1.53 KB

#Dojo Secrets

###User Login:

  • First and last name (can't be blank)
  • E-mail (must be valid address)
  • Password (must be at least 8 characters)

###Secrets:

  • Users can post secrets, delete secrets that they posted, and like secrets posted by others.
  • On the index page, display the 5 or 10 most recent secrets. Also include a "Most Popular" page, which shows all secrets, sorted by number of likes (most likes is first).
  • On both index and "Most Popular" page, show how many likes the secrets has received, a link to like that secret if the user hasn't already, and--if the logged-in user posted this secret--an option to delete. Also show when the secret was posted.
  • Secrets are anonymous--never display the name or E-mail of the person who posted the secret.

###Mock-up

The picture below shows the required information, but don't fret too much about style or formatting.

mock-up

###Hints

Hints are encoded in rot-13. (I was going to have you write your own rot-13 decoder to read these, but that seemed too mean.)

Likes: Ybbx hc ubj gb hfr n ZnalGbZnalSvryq.

Likes Part 2: Lbhe Frperg zbqry fubhyq unir n ZnalGbZnalSvryq yvaxvat gb Hfre gung jvyy ubyq nyy bs gur hfref jub yvxrq n tvira frperg. Lbh pna hfr .pbhag gb trg gur ahzore bs yvxref, naq n zber pbzcyvpngrq dhrel gb qrgrezvar vs gur ybttrq-va hfre vf bar bs gubfr yvxrf be abg.

Time formatting: Ybbx hc Qwnatb'f ohvyg-va grzcyngr svygref, fcrpvsvpnyyl gur qngr svygre naq gvzr svygre. Sbe rkgen perqvg, purpx bhg gur Qwnatb uhznavmr zbqhyr.