# Teleport Plugin Next Data Source

A plugin for managing external data sources in Next.js projects generated by TeleportHQ.

## Features

- Supports 13+ data source types (PostgreSQL, MySQL, MongoDB, etc.)
- Generates API routes for data fetching
- Handles embedded data sources (JavaScript, CSV, Static Collections)
- Server-side and client-side data fetching strategies
- Seamless integration with the DataProvider component
- **Array mapper pagination support** - Client-side pagination with Previous/Next navigation
- Automatic count queries for paginated data sources

## Supported Data Sources

- REST API
- PostgreSQL
- MySQL
- MariaDB
- Amazon Redshift
- MongoDB
- CockroachDB
- TiDB
- Redis
- Firestore
- ClickHouse
- Airtable
- Supabase
- Turso
- JavaScript
- Google Sheets
- CSV File
- Static Collection

## Usage

This plugin is automatically integrated into the Next.js project generator. It processes `data-source-item` and `data-source-list` nodes in the UIDL and generates appropriate data fetching logic.


