Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add URL design

  • Loading branch information...
commit 87da664692aea8b629d2692251067bf5965c2f07 1 parent 5ed8484
@jamesward authored
Showing with 35 additions and 2 deletions.
  1. +35 −2 NOTES.md
View
37 NOTES.md
@@ -86,7 +86,7 @@ Data Model
Long id
String emailAddress
- String password
+ String shaPassword
String name
Date creationDate
@@ -94,4 +94,37 @@ Data Model
Long id
URL thumbnailUrl
- URL fullUrl
+ URL fullUrl
+
+
+URL Design
+----------
+
+ GET / # Display list of Regions
+
+ GET /signup # Signup Form
+ POST /signup # Save Signup Data
+
+ POST /login # Login
+
+ GET /feed/:region # RSS Feed for the specified Region
+ GET /feed/:region/:route # RSS Feed for the specified Route
+
+ POST /subscribe/:region # Subscribe to Region Updates via Email
+
+ GET /:region/addroute # Add Route to a Region Form
+ POST /:region/addroute # Save Route to a Region
+
+ POST /:region/:route/addrating # Add Rating to a Route
+
+ GET /:region/:route/addcomment # Add Comment to a Route Form
+ POST /:region/:route/addcomment # Save Comment to a Route
+
+ GET /:region # Display list of Routes in a Region
+
+
+Open Questions
+--------------
+
+* Should we add a property to Region and Route for using their names in a URL? Or just have a set algorithm for doing it? (e.g. turn "Dakota Ridge, Red Rocks, Matthews Winters Loop" into "dakota_ridge_red_rocks_matthews_winters_loop")
+* Should we define data constraints here?
Please sign in to comment.
Something went wrong with that request. Please try again.