Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

How to Make Delivery Order Admin Side

Make sure the inventories was available by running RESTAURANT_ID={restaurant_id} bundle exec rake generate_restaurant_inventory if you want to try payment using cc you can check on this https://doc.gbprimepay.com/Token-API Before make a booking make sure you already run this on your local, if you want to check on local

If you didn’t have the insomnia endpoint list you can clone this git@github.com:hungryhub-team/insomnia-master.git and import the file into https://insomnia.rest/download You can create reservation with or without sign up With Login

  • you can sign up on [POST] {{ base_api }}/users.json

  • or sign in on [POST] {{ base_url }}/oauth/token.json

  • you can check the restaurant details on here {{ base_api }}/restaurants/997.json

  • you can check restaurant availability here {{ base_api }}/restaurants/1558/check_availability.json

  • and you can create reservation on [POST]{{ base_api }}/reservations.json
  • after reservation created you can check the details here {{ base_api }}/reservations/542038.json