Admin Dashboard

    The admin dashboard gives you access to a portal where you can manage your products, orders, subscriptions, blog posts, uploads, product reviews and users/customers.

    Setup

    1. Start by adding the ADMIN_EMAIL and AUTH_SECRET to .env.local

    .env.local

    ADMIN_EMAIL=username@your-email-domain.example # Add your admin email here
    AUTH_SECRET= # Add your auth secret here by using a random 43 characters string or generate one here https://jwtsecret.com/generate
    
    1. Start with one of these two methods and comeback here
      • Setup your Resend here to started sending emails
      • Setup OAuth here
    2. Navigate to /auth/connect
    3. Register with the ADMIN_EMAIL using one of the methods you have setup in step 2

    🎉 You are now an admin user! access the dashboard here.