Routes - Numie/FoodDotCom GitHub Wiki
HTML
GET / StaticPagesController#root
API Endpoints
users
POST api/users-- Create UserGET api/users/:id-- Returns a User
session
POST api/session-- Log InDELETE api/session-- Log Out
restaurants
GET api/restaurants-- Returns All Restaurants Within Search ResultsGET api/restaurants/:id-- Returns a Restaurant
orders
POST api/orders-- Create Order
reviews
POST api/reviews-- Create Review
Front End Routes
/users/:id-- User Show/Profile Page/restaurants-- Restaurant Index/Search Results/restaurant/:id-- Restaurant Show/Menu Page/checkout-- Order Page