This is the frontend of the Juice Bar Ordering System, built with React and Tailwind CSS.
It provides a modern, responsive user interface for browsing the menu, managing the cart, authenticating users, and placing orders.
The frontend is deployed on Netlify, which provides automatic CI/CD when changes are merged into the main branch.
- React.js – Component-based UI library
- JavaScript (ES6) – Simpler setup for rapid development
- Tailwind CSS – Utility-first styling for responsive design
- Netlify – Continuous deployment and hosting
git clone https://github.com/BlendRush/frontend.git
cd frontendnpm installCreate a .env file in the root directory with the backend API URL:
REACT_APP_API_URL=https://<your-ec2-ip>/api
If the EC2 instance is restarted, make sure to update this REACT_APP_API_URL value with the new public IP address.
npm startThe app will run locally at http://localhost:3000.
To create an optimized build:
npm run buildThe build/ folder can then be deployed manually or automatically with Netlify.
- On merge to
main, Netlify automatically:- Detects the new commit
- Builds the app
- Deploys to production
- Makes it live instantly