Watch the demo here
Follow these steps to set up and run the Restaurant Management System Frontend:
-
Navigate to the restaurant-app folder:
cd restaurant-app
-
Update the backend port in the startup class:
- Open the relevant file (e.g.,
Startup.cs
). - Modify the base URL:
app.UseCors(options => options.WithOrigins("http://localhost:3000"));
- Open the relevant file (e.g.,
-
Install Material-UI:
npm install @material-ui/core
-
Copy and paste Material-UI icon codes into your components.
- For example:
import ReorderIcon from '@mui/icons-material/Reorder';
- For example:
-
Install Axios for API calls:
npm install axios
-
Update API calls with the backend running URL:
- Copy and paste the base URL into your API folder.
- Update API calls with the backend running URL.
const baseURL = 'http://localhost:53688/';
To run the application, execute the following command:
npm start
Backend Instructoin : https://github.com/CydexCode/JuiceBarAPI