Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DailyDelishFavicon



DailyDelish is a subscription-based fruits and vegetables web app built with Django and Django Rest Framework (DRF). The platform allows users to subscribe to fresh, high-quality produce and manage their deliveries seamlessly.

Architecture

diagram-export-9-16-2025-4_33_20-PM

DB Diagram

diagram-export-9-16-2025-4_37_47-PM

Checkout the demo on YouTube:

Watch on YouTube

Features

  • User authentication & subscription management
  • Browse and select fresh fruits & vegetables
  • Custom delivery schedules
  • Payment integration (Razorpay)
  • Order tracking & history
  • RESTful API for mobile & frontend integrations

Tech Stack

  • Backend: Django, Django Rest Framework (DRF)
  • Database: PostgreSQL
  • Frontend: React, Next.js,
  • Authentication: OAuth2, JWT
  • Payments: Razorpay
  • Containerization: Docker
  • Deployment: AWS

Installation & Setup

1. Clone the Repository

git clone https://github.com/yourusername/DailyDelish.git
cd DailyDelish

2. Create & Activate Virtual Environment

python3 -m venv venv
source venv/bin/activate  # On Windows use: venv\Scripts\activate

3. Install Dependencies

pip install -r requirements.txt

4. Configure Environment Variables

Create a .env file and add the necessary configurations:

SECRET_KEY=your_secret_key
DEBUG=True
DATABASE_URL=your_database_url
STRIPE_SECRET_KEY=your_stripe_secret_key

5. Apply Migrations & Create Superuser

python manage.py migrate
python manage.py createsuperuser

6. Run the Development Server

python manage.py runserver

7. Access the Application

  • API: http://127.0.0.1:8000/api/
  • Admin Panel: http://127.0.0.1:8000/admin/

API Documentation

The API documentation is available via DRF Spectacular at:

http://127.0.0.1:8000/api/schema/docs/

Running Tests

python manage.py test

Deployment

For production deployment, configure Gunicorn, Nginx, and PostgreSQL. Example:

pip install gunicorn

Run the application:

gunicorn --bind 0.0.0.0:8000 core.wsgi:application

Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you’d like to change.

License

This project is licensed under the MIT License.