Food-Ordering-App is a user-friendly web application dedicated to online food ordering.
Key Features:
- JWT Authentication & Authorization.
- Intuitive cart management allowing users to add or remove items.
- Global state management with Redux.
- Vite
- ESLint
- redux toolkit
- axios
- react-router-dom
- classnames
-
Install
nvm
following instructions from this page: https://github.com/creationix/nvm#installation-and-update -
Install this specific version of
nodejs
usingnvm
:
nvm install v18.7.0
- Check
nodejs
version by typing :
node -v
- If multiple versions are installed use the correct version :
nvm use v18.7.0
-
Remove
node_modules
folders if exist in thefood-ordering-app
directory -
Install dependencies :
npm install
- Open the project folder and enter the command in the terminal to run the development server:
npm run dev
- Or run the below command for the production mode:
npm run build
- Open http://localhost:5173 with your browser to see the result.
DOCS: