docs
Next Auth + Mangodb
ℹ️

This page shows how to clone the repo & folder structure of the project (if you are using supabase don't forgot to select supabase 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]
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=
            MONGODB_URI=
            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

            ℹ️

            You can configure your app with it. 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.