This is the admin interface for managing notifications and announcements for the Native Swap Frame. Built with Next.js, it provides a dashboard to manage Farcaster Frame notifications and announcements for the Native Swap platform.
-
📢 Announcement Management
- Create, edit announcements
-
🔔 Notification Controls
- Send notifications to all users
- Track notification delivery status
- Clone the repository:
git clone https://github.com/nativefun/swap-admin.git
cd swap-admin- Install dependencies:
npm install- Set up environment variables:
cp .env.example .envConfigure the following variables in your .env file:
SUPABASE_URL=your_supabase_url
SUPABASE_KEY=your_supabase_key
APP_URL=your_app_url- Start the development server:
npm run devOpen http://localhost:3000 to access the admin dashboard.
The admin interface uses Supabase with the following tables:
- Native Swap Frame - Main Frame application
- Farcaster Frames Documentation