Back to Blog

Quick Start

A quick overview of the RocketDev boilerplate to get your app up and running fast.

Posted by

Supabase and RocketApp logo combined

For NextAuth + MongoDB, follow this link


Hey maker, welcome to RocketDev 👋

Here's a quick overview of the boilerplate. Follow along to get your app up and running.


Once you're done, start with this tutorial to launch your project in 5 minutes. Let's build that startup, FAST 🚀

Start a local server

1. In your terminal, run the following commands one-by-one:

cd [YOUR_APP_NAME]
npm install
npm run dev

RocketApp requires Node 18.17 or greater. Type node -v in your terminal to check version.


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

mv .env.example .env.local

3. Open http://localhost:3000 to see your site. And voila!

NextJS project structure

/app → Pages (1 folder + page.js = 1 page)

/app/api → API calls (1 file = 1 API endpoint)

/components → React components

/libs → Libraries helper functions (Stripe & Mailgun, auth etc.)

/models → database models

config.js file

it is a file that contains all the configurations for your app.

.env file

Rename the .env.example file to .env.local. Change NEXTAUTH_SECRET to anything else. The file content should look like this:

NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=uhf3874y7fh387u87653947u4rh9394hf
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=

Now go ahead and follow this tutorial to get your startup live within 5 minutes!