Let’s Get Started!¶
Welcome to SaaSFast, Innovator 👋¶
This is your quick guide to getting the template up and running with ease.¶
Once you’re done, jump straight into this quick-start guide to launch your project in just 5 minutes.
It’s time to turn your idea into a real startup—fast ⚡️
Run the Local Server¶
Open your terminal and run the following commands step-by-step:
git clone https://github.com/Marc-Lou-Org/SaaSFast.git [YOUR_APP_NAME]
cd [YOUR_APP_NAME]
npm install
git remote remove origin
npm run dev
Rename the .env.local
¶
mv .env.example .env.local
Then open this link in your browser:¶
http://localhost:3000 — and boom! Your site is live ✅
You may see some warnings in the console. Don’t worry—they’re harmless and won’t break the app.
SaaSFast Project Structure (NextJS)¶
/app
→ Your pages (Each folder + page.js = one page)/app/api
→ Your API routes (One file = one endpoint)/components
→ Reusable React components/libs
→ Helper functions and integrations (Stripe, Resend, auth, etc.)/models
→ Database schemas
config.js
File¶
This is where your app settings live. Each key is documented so you know exactly what it does and how to use it. Take time to go through it—it’s the backbone of your app.
.env
File¶
Rename .env.example
to .env.local
and update the NEXTAUTH_SECRET
value to something secure (at least 15 characters).
Here’s how it should look:
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your_secure_secret_here
GOOGLE_ID=
GOOGLE_SECRET=
MONGODB_URI=
RESEND_API_KEY=
STRIPE_PUBLIC_KEY=
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=