A React-based frontend for the AddyBites delivery application with modern UI and user authentication.
- User authentication and profile management
- Product browsing and search functionality
- Shopping cart with real-time updates
- Checkout and order management
- Responsive design with Tailwind CSS
- Install dependencies:
npm install-
Set up environment variables:
- Create a
.env.localfile in the root directory - Add the following line:
VITE_PUBLIC_API_URL=http://localhost:5000- For production, change the URL to your backend server
- Create a
-
Start the development server:
npm run devVITE_PUBLIC_API_URL- Backend API URL (default: http://localhost:5000)
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production build
- React 18
- Vite
- React Router DOM
- Axios
- Tailwind CSS
- React Icons