Skip to content

Repository files navigation

Native Swap Frame Admin

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.

Features

  • 📢 Announcement Management

    • Create, edit announcements
  • 🔔 Notification Controls

    • Send notifications to all users
    • Track notification delivery status

Getting Started

  1. Clone the repository:
git clone https://github.com/nativefun/swap-admin.git
cd swap-admin
  1. Install dependencies:
npm install
  1. Set up environment variables:
cp .env.example .env

Configure the following variables in your .env file:

SUPABASE_URL=your_supabase_url
SUPABASE_KEY=your_supabase_key
APP_URL=your_app_url
  1. Start the development server:
npm run dev

Open http://localhost:3000 to access the admin dashboard.

Database Schema

The admin interface uses Supabase with the following tables:

Announcements Table

About

Admin for the Native Swap frame.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages