Skip to content

Pilot Plate is the ultimate app for making quick dining decisions, discovering new restaurants, and planning unforgettable culinary adventures with friends.

Notifications You must be signed in to change notification settings

lucas-richards/Pilot-Plate-FrontEnd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plate Pilot: Hackathon Food App connected to Yelp

This is the frontend and backend for the full stack Plate Pilot App

Technologies Used

  • Express
  • MongoDB
  • React
  • Node.js

Planning section

ERD

entity relationship diagram

Wireframes

wireframe

wireframe

wireframe

wireframe

API

Scripts are included in curl-scripts to test built-in actions. Feel free to use Postman for testing, using the curl scripts listed below and in the folder for setting up headers and request bodies. Add your own scripts to test your custom API.

Authentication

Verb URI Pattern Controller#Action
POST /sign-up users#signup
POST /sign-in users#signin
PATCH /change-password/ users#changepw
DELETE /sign-out/ users#signout

businesses

Verb URI Pattern Controller#Action
GET /businesses businesses#index
GET /businesses/<place_id> businesses#show
POST /businesses businesses#create
PATCH /businesses/<place_id> businesses#update
DELETE /businesses/<place_id> businesses#delete

Recommended Request bodies

Request - users#signup:

{
    "credentials": {
      "email": "[email protected]",
      "password": "an example password",
      "password_confirmation": "an example password"
    }
}

Request - businesses#create (requires a token):

{
    "business": {
        "title": "restaurant name",
        "desc": "this is a business to eat",
        // ...
        
    }
}

Token Auth Strategy

Send the token as Bearer Token <token>

About

Pilot Plate is the ultimate app for making quick dining decisions, discovering new restaurants, and planning unforgettable culinary adventures with friends.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •