A full stack SAAS application using OpenAI web API to generate SEO blog posts with react, next.js, Tailwind CSS, auth0, MongoDB and stripe.
First of all create a file called .env.local
then copy all the environment varibles from the .env.local.sample
file
Fill the environment variables in that file as follows:
You must create an OpenAI API account to get the OpenAI API key.
You must create a database with your account on MongoDB atlas then:-
MONGODB_URI
environment variable.Then create an account on Auth0 and add a new project then:-
lastly create an account on stripe and get the stripe secret key then:-
To run the application in development mode, run the command:
npm run dev
Now open http://localhost:3000 to view it in your browser.
To build your application for deployment, run the command:
npm run build