Skip to content
lmle edited this page Sep 8, 2014 · 1 revision

Sign-Up

Customer

Sent to the server:

{
  username: username,
  firstName: firstName,
  lastName: lastName,
  email: email,
  phoneNumber: phoneNumber,
  password: password,
}

Restaurants

Sent to the server:

{
  username: username,
  password: password,
  restaurantName: restaurantName,
  address: address,
  lat: lat,   // Latitude based on entered address
  long: long, // Longitude based on entered address
  priceRange: priceRange,
  cuisine: cuisine,
  email: email,
  phoneNumber: phoneNumber
}
Clone this wiki locally