This repository showcases a user interface for selecting meals using React, featuring menu items and a summary of selected food with the total price.
This project is built with Next.js.
Make sure you have the following installed:
- Node version 20 or above
- npm version 10 or above.
Note: These versions are pinned in the volta
key in package.json
.
npm install
Set the following environment variable in .env
file:
NEXT_PUBLIC_BACKEND_URL=http://localhost:4000
export PORT=4000
set PORT=4000
npm run dev
You can also specify a different port.
Don't forget to update NEXT_PUBLIC_BACKEND_URL
accordingly.
Full support for small screens is currently lacking.
Thank you for checking out this project. I had fun working on it. Let's work together.