FrafiksAdmin

Setup Guide

Configure your Frafiks Melting & Casting website

Step 1: Add Environment Variables
Add these environment variables to your Vercel project settings

Go to your Vercel project:

  1. Click on the project settings (gear icon in the sidebar)
  2. Navigate to "Environment Variables"
  3. Add the following variables:
https://oaphicfoiasurpczdlyz.supabase.co
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im9hcGhpY2ZvaWFzdXJwY3pkbHl6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjAzODIwODAsImV4cCI6MjA3NTk1ODA4MH0.39-Iiz7UHeh6QVr4xH21XWMiO7fwcB7daeTpsQhfMbg
Step 2: Run Database Scripts
Execute these SQL scripts in your Supabase SQL Editor

Go to your Supabase SQL Editor

  1. Copy the contents of scripts/001_create_tables.sql
  2. Paste and run it in the SQL Editor
  3. Then copy and run scripts/002_seed_data.sql
Step 3: Create Admin User
Set up your admin account in Supabase Authentication

Go to your Supabase Authentication

  1. Click "Add User" → "Create new user"
  2. Email: francismagoro@gmail.com
  3. Set a secure password
  4. Enable "Auto Confirm User"
  5. Click "Create user"
Step 4: Access Your Website
Once setup is complete, you can access these pages