- Run
git clone https://github.com/Charan-Preet/Restaurant-App.git
on your Termial. cd Restaurant-App\backend
npm i
insidebackend
directory- Also
node index.js
insidebackend
directory cd Restaurant-App\client
npm i
insideclient
directory- Also inside
client
directorynpm start
- The attached .csv file contains a list of data to create a food ordering application. The requirements of the product is as follows:
- As a user, I am able to search for available/open restaurants by time and dates via a search function.
- As a user, I am able to click into the restaurant and see the set meal that they are selling with price and currency and make orders from there.
- As a user, I am able to see my past orders.
- You’re required to use
React.js
to develop the frontend andNode.js
for the backend. - You’re also required to use a proper database to store your data and write a migration script to migrate data from .csv file into your database.
- Fetching data from backend using
rest api
usingaxios
fromhttp:\\localhost:5000\data
and look's like this:
-Restaurant page usign Search()
function listing the list of restaurant according to date and time selected by the user in the frontpage:
-Order page user can order meals which get saved in Previous order
:
-Previous Order Page- As the name suggest it stores the previous order created by the user: