Transform your idea into a profitable business. Just enter your idea, and Idea2Business will help you turn it into a successful venture.
Production: https://idea2business.xyz
Latest Dev Updates: https://idea2business.vercel.app
On MacOS: brew services start mongodb-community
Note: .env.example is an example of the secrets file. .env.*.local should be added to .gitignore, as those files are intended to be ignored. .env.development.local is where secrets can be stored.
Defaults are set in .env.example
Create .env.development.local file and replace env variables with your own taking reference from .env.example
Environment variables load order- https://nextjs.org/docs/basic-features/environment-variables#environment-variable-load-order
Change env variables on Vercel from CLI- https://vercel.com/docs/cli/env
To turn on dev server-
npm run dev
Build a docker container-
docker-compose up -d --build
To turn off dev server-
docker-compose down
Turn on dev server-
docker-compose up
stripe listen --events checkout.session.completed --forward-to localhost:3000/api/stripe/webhook