Skip to content

sundai-club/mmvp

Repository files navigation

Travel Advisory App - MMVP (Massively Multiplayer Vibe Programming)

A Django-based travel advisory application that uses AI21's Maestro to provide intelligent travel recommendations and advice.

Features

  • Create and manage travel destinations
  • Generate AI-powered travel advice using AI21's Maestro
  • Get comprehensive information about:
    • Safety
    • Weather and best time to visit
    • Cultural considerations
    • Transportation options
    • Must-see attractions

Setup

  1. Clone the repository:
git clone <repository-url>
cd travel-advisor
  1. Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Create a .env file in the project root and add your AI21 API key:
AI21_API_KEY=your_api_key_here
DJANGO_SECRET_KEY=your_django_secret_key_here
  1. Run migrations:
python manage.py migrate
  1. Run the development server:
python manage.py runserver

API Endpoints

  • GET /api/destinations/: List all destinations
  • POST /api/destinations/: Create a new destination
  • GET /api/destinations/{id}/: Get destination details
  • POST /api/destinations/{id}/generate_advice/: Generate AI-powered travel advice
  • GET /api/advice/: List all travel advice
  • GET /api/advice/{id}/: Get specific travel advice

Testing

Run the test suite:

pytest

Dependencies

  • Django
  • Django REST Framework
  • AI21 Maestro
  • Python-dotenv
  • Requests
  • Pytest

License

MIT License

About

Massively Multiplayer Vibe Programming

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •