Create Restaurants (front & back end)
Closed this issue · 0 comments
ashleighctucker commented
Will need to create the:
- models and migrations/verions for the Restaurant table
- backend route for GET
/restaurants
(eager load Reviews and Reservations will be on another open issue on GH!) - backend route for POST
/restaurants
- backend wtf-flask form for posting a restaurant
- frontend form AND page for posting a restaurant (styling will be another open issue on GH!)
User story: Create Restaurant
- As a logged in user, I want to be able to create a new restaurant
- While I am on the
/restaurants/new
page, I want to be able to add details about the restaurant including:- Name of restaurant
- Location
- Price range (
$, $ $, $$$) (select field) - Phone Number
- Opening Time (select field)
- Closing Time (select field)
- Description
- Type of cuisine
- Cover photo
- While I am on the