Skip to content

Generates fake food orders for building food delivery app

License

Notifications You must be signed in to change notification settings

codspire/food-order-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

food-order-simulator

Generates fake food orders for building food delivery app

http://localhost:8080/orders/stream

demo

Referred with thanks

java-faker

Food Order dataset

Others

Start the Fake Order Server

mvn clean spring-boot:run

Access the stream order endpoint

Sample Order

{
  "customer": {
    "id": "01EWCANBTSGF90ZC6W54GS42DF",
    "firstName": "Christoper",
    "lastName": "Corkery",
    "email": "[email protected]",
    "phone": "(106) 292-3906"
  },
  "deliveryAddress": {
    "streetAddress": "00791 Dreama Trafficway Suite 271",
    "city": "Wallybury",
    "stateAbbr": "VA",
    "zip": "20148"
  },
  "order": {
    "orderId": "01EWCANBTSHX0NH4CDX76VPNMA",
    "confirmationCode": "b3407bd6",
    "orderTime": "2021-01-18T22:22:55.1937567",
    "orderItems": [
      { "name": "Saag - Lamb", "quantity": 1, "price": 8.95 },
      { "name": "Mushroom Bhajee", "quantity": 4, "price": 5.95 },
      { "name": "King Prawn Butterfly", "quantity": 3, "price": 5.95 },
      { "name": "Paneer Dansak", "quantity": 2, "price": 8.95 }
    ],
    "itemsCount": 4,
    "discountAmount": 0.0,
    "taxAmount": 1.72,
    "amount": 70.22
  }
}

Maintenance

# check for maven dependencies updates  
mvn versions:display-dependency-updates
 
# check for maven plugin updates  
mvn versions:display-plugin-updates

About

Generates fake food orders for building food delivery app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages