Welcome to GApple, your ultimate destination to order the most delicious food right from your browser. From spicy starters to mouth-watering desserts, we bring the best restaurant experience to your doorstep.
Make sure you have Node.js installed on your system. Download Node.js here
cd food-app
npm install vite
npm run devThe frontend should now open at http://localhost:5173 Create a .env file in the same food-app directory and paste the following inside:
VITE_API_BASE_URL=http://localhost:8000/api/
cd food-app
cd backend
pip install djangorestframework django django-cors-headers django-extensions
python3 manage.py runserverYour backend API should be running at http://localhost:8000
cd adminPanel
cd food-app-admin-panel
npm install vite
npm run devThe admin panel should now open at http://localhost:5174 Create a .env file in the same food-app directory and paste the following inside:
VITE_API_BASE_URL=http://localhost:8000/api/