Hey maker 👋 it's Marc from ShipFast. Let's get your startup off the ground, FAST ⚡️
Watch/Star the repo to be notified when updates are pushed
- Follow the Get Started Tutorial to clone the repo and run your local server 💻
Looking for the /pages router version? Use this documentation instead
- Follow the Ship In 5 Minutes Tutorial to learn the foundation and ship your app quickly ⚡️
This project uses separate environment files for development and production:
| File | Purpose | When Loaded |
|---|---|---|
.env.development |
TEST/dev credentials | npm run dev |
.env.production |
LIVE/prod credentials | npm run build / npm run start |
.env.example |
Template reference | Never (documentation only) |
- Copy
.env.exampleto.env.developmentand fill in your TEST credentials - Copy
.env.exampleto.env.productionand fill in your LIVE credentials
Next.js loads environment files in this priority (highest to lowest):
.env.development/.env.production(environment-specific).env.local(local overrides, always loaded).env(default fallback)
When deploying to Vercel, set your production environment variables in: Project Settings → Environment Variables
Note: All
.env*files (except.env.example) are gitignored to protect your credentials.
Reach out to me on Twitter or marc@shipfa.st
_
Let's ship it, FAST ⚡️
P.S.
- Want to showcase your startups? Get your Indie Page and share your entrepreneur's journey. Join 3,132 founders ⭐️
- Don't get banned from Stripe for 1 dispute. Use ByeDispute to prevent them from happenening 🛡️
- Make your launch go viral and get your first customers with LaunchViral 🚀
- Stop paying 0.4% per Stripe invoices Zenvoice 🤕