docs
Supabase
ℹ️

This page shows how to clone the repo & folder structure of the project (if you are using next auth don't forgot to select next auth + mangodb from the above)

Welcome to Next start Where Your Next Big Project Begins.

If you already cloned the repo follow this tutorial to build & launch your startup in 5 minutes.

terminal
git clone (github link) [YOUR_APP_NAME]
cd [YOUR_APP_NAME]
git checkout supabase
npm install
git remote remove origin
npm run dev
      • Page.ts
        • route.ts
          • Stripe.ts
          • Seo.tsx
        • change env.example to env.local

          terminal
          mv .env.example .env.local

          And add the following:

          .env.local
          NEXTAUTH_URL=http://localhost:3000
          NEXTAUTH_SECRET=uhf3874y7fh387u87653947u4rhye58j4
          GOOGLE_ID=
          GOOGLE_SECRET=
          EMAIL_SERVER=
          MAILGUN_API_KEY=
          NEXT_PUBLIC_SUPABASE_URL=
          NEXT_PUBLIC_SUPABASE_ANON_KEY=
          SUPABASE_SERVICE_ROLE_KEY=
          STRIPE_PUBLIC_KEY=
          STRIPE_SECRET_KEY=
          STRIPE_WEBHOOK_SECRET=

          open http://localhost:3000 (opens in a new tab) to see your site, Congratulations you are Now Live.

          config.ts file

          ℹ️

          It is where you configure your app. Each key is documented to know how and why it's used. Have a thorough look at it: it is the backbone of the app.