Skip to content

tranquillite-007/YT-Api-ReactNative-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Tranquillite - YouTube Video App 🎬

A beautiful React Native mobile application that displays and plays YouTube videos with a simple-themed UI.

Tranquillite App Expo YouTube API

πŸŽ₯ Demo Video

πŸ“Ή Watch the 2-minute Demo Video

πŸš€ Live Demo

  • Download APK: App Link (APK)
  • Backend API: https://yt-api-reactnative-project.onrender.com/api/videos

✨ Features

  • 🎨 Beautiful Themed UI with color scheme
  • πŸ“Ί YouTube video integration with in-app playback
  • πŸ”„ Pull-to-refresh functionality
  • ⚑ Smooth navigation between screens
  • πŸ›‘οΈ Comprehensive error handling
  • πŸ“± Responsive design for all Android devices
  • 🌐 Custom Node.js backend with MongoDB

πŸ› οΈ Technology Stack

  • Frontend: React Native, Expo, React Navigation
  • Backend: Node.js, Express.js
  • Database: MongoDB Atlas
  • API: YouTube Data API v3
  • Deployment: Render.com (Backend)
  • Testing: Thunder Client (API Testing)

πŸ“¦ Installation & Setup

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn
  • Expo Go app (for testing)

Steps to Run

  1. Clone the repository

    git clone https://github.com/tranquillite-007/YT-Api-ReactNative-Project.git
    cd video-app
  2. Install dependencies

    npm install
  3. Start the development server

    npx expo start
  4. Run on Android

  • Scan the QR code with Expo Go app, or
  • Press 'a' to run on android emulator

Building for Production

#Build Apk
eas build --platform android --profile preview

# Build app bundle

eas build --platform android --profile production

Environment keys requirements :

YOUTUBE_API_KEY=XXXX-XXXX-XXXX
MONGODB_URI=XXXX-XXXX-XXXX
PORT=20000

Api Usage

Backend API Endpoints

  • GET /api/videos - Fetch all videos with enriched metadata
  • POST /api/videos - Add new video ID to database
  • DELETE /api/videos/:id - Remove video from database

Acknowledgments

  • YouTube Data API for providing comprehensive video metadata and streaming capabilities
  • Expo team for their excellent React Native development tools and continuous support
  • MongoDB Atlas for offering free database hosting that made this project possible
  • Render.com for providing free backend hosting services
  • React Navigation team for seamless navigation solutions
  • React Native community for extensive documentation and support resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published