Welcome to Launch It πŸ‘‹

Get your app running quickly with this boilerplate. Let’s build that startup, FAST πŸš€

Once you're set, follow this tutorial to launch in 5 minutes!

Start a Local Server

  1. Run these commands in your terminal:

    git clone [link] [YOUR_APP_NAME] 
    cd [YOUR_APP_NAME]
    npm install
    git remote remove origin
    npm run dev

    Launch It requires Node 18.17 or greater. Check your version by typing node -v.

  2. Rename .env.example to .env.local:

    mv .env.example .env.local
  3. Visit http://localhost:3000 to see your site. Console errors may appear, but they're not critical.

NextJS Project Structure

  • /app β†’ Pages
  • /app/api β†’ API calls
  • /components β†’ React components
  • /libs β†’ Helper functions
  • /models β†’ Database models
  • /messages β†’ Internationalization messages

Configuration Files

config.js

Configure your app here, with detailed documentation for each key.

export const config = { 
Β  appName: "Launch It πŸš€",
Β  appDescription: "You can customize your app description here.",
Β  ...
}

.env File

Rename .env.example to .env.local. Update NEXTAUTH_SECRET to a minimum of 15 characters. Here’s an example setup:

NEXTAUTH_URL=http://localhost:3000 
NEXTAUTH_SECRET=
GOOGLE_ID=
GOOGLE_SECRET=
MONGODB_URI=
EMAIL_SERVER=
MAILGUN_API_KEY=
MAILGUN_SIGNING_KEY=
STRIPE_PUBLIC_KEY=
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=

Ready to go? Follow the tutorial to launch your startup in 5 minutes!