.png)
Recently I created a menu module for a mock restaurant rating web app. Using Node, React, and Mongo I created a Restful API to retrieve several different menus and menu items for any restaurant in the database.
Each restaurant could have several menus with different items. I decided it would make more sense to have the client side request one menu at a time from the server, this would result in a faster initial loading time of the app with the trade off using another GET request every time a new menu was clicked. I felt the trade off was worth it since quick initial loading times are more important, and the menu wasn’t the only module on the app.
I also added a sidebar with its own database and API, and did front end work on a reservation module.
