Skip to content

About

Full-stack cross-platform app built with Expo (React Native), Python server, and Docker Compose orchestration.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

Repository files navigation

🚀 Melon Velocity

FastAPI React Native Expo Docker

A full-stack, cross-platform media downloader mobile application. Users paste a video URL into the Expo (React Native) client, which queries the FastAPI (Python) server to extract available video resolutions, separate streams (Video + Audio, Video Only, or Audio Only), and download the selected media directly from their device.


🚀 Key Features

  • 🔗 URL Extraction: Paste any supported media link to extract available stream formats instantly.
  • 🎬 Format Filtering: Separate options for Video + Audio, Video Only, and Audio Only.
  • 📐 Resolution Picker: Choose between available resolutions (e.g., 1080p, 720p, 480p, MP3/Audio).
  • ⚡ Fast FastAPI Backend: Python server handles stream extraction, format parsing, and media handling.
  • 📱 Cross-Platform Mobile UI: Built with Expo & React Native for seamless iOS and Android support.

🏗️ Project Structure

melon-velocity/
├── .devcontainer/     # Development container configuration
├── expo-client/       # Cross-platform mobile & web frontend (Expo / React Native)
├── server/            # Backend REST API (Python / FastAPI)
└── .gitignore         # Git ignore rules

📋 Prerequisites Ensure you have the following installed on your machine before getting started:

Git

Docker & Docker Compose

Node.js (v18+ recommended) & npm or yarn

Python (v3.10+ recommended) & uv (Package manager)

Expo Go app on your iOS/Android device (optional)

🚀 Getting Started

  1. Clone the Repository
git clone [https://github.com/Codeforge-mame/melon-velocity.git](https://github.com/Codeforge-mame/melon-velocity.git)
cd melon-velocity

2. Environment Configuration

Copy the example environment files for both the server and client:

# Backend environment variables
cp server/.env.example server/.env

# Frontend environment variables
cp expo-client/.env.example expo-client/.env

(Update the .env files with your specific API keys, database URLs, and local IP address for Expo.)


Running the Application

Option A: Using Docker Compose (Recommended)

1. Start the backend server:

   cd server
   docker compose up --build

2.Start the Expo client (in a new terminal window):

 cd expo-client
 npx expo start
  • Backend API: http://localhost:8000
  • API Documentation (Swagger UI): http://localhost:8000/docs

Option B: Manual Local Setup

1. Start the FastAPI Server

cd server

# Sync environment using uv
uv sync

# Activate virtual environment
source .venv/bin/activate  # On Windows use: .venv\Scripts\activate

# Launch FastAPI server
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000

2. Start the Expo Client

Open a new terminal window:

cd expo-client

# Install frontend dependencies
npm install

# Start Expo dev server
npx expo start

Controls:

  • Press w to open in a web browser.
  • Press a to open on an Android emulator.
  • Press i to open on an iOS simulator.
  • Scan the QR code using the Expo Go app on your physical device.

Tech Stack

  • Frontend: React Native, Expo, TypeScript
  • Backend: Python, FastAPI, UV
  • DevOps & Tooling: Docker, Docker Compose

Contributing

  1. Fork the repository.
  2. Create a new feature branch (git checkout -b feature/your-feature).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/your-feature).
  5. Open a Pull Request.

👨‍💻 Author Built by Mohammed Ahmed — Full-Stack AI & Mobile Engineer.

About

Full-stack cross-platform app built with Expo (React Native), Python server, and Docker Compose orchestration.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages