This project serves as a demonstration of consuming OpenAI APIs and utilizing generative AI (GPT-3.5) to generate blog posts based on specific topics and keywords. Additionally, it includes features such as Auth0 integration and Stripe for managing in-app purchases.
Open AI
API integration (GPT-3.5-turbo)- Usage of
Next.js
framework - Integration with
MongoDB
to store user blog posts data - Authentication with
Auth0
- Integration with
Stripe Payment
for buying digital currency TailwindCSS
andRadixUI
for create beautifully, responsive and accessible UI
- Clone this repository
git clone https://github.com/WillACosta/nextjs-openai-blog
- Make sure that you have all environment variables set, before running the project, run the following command to copy the env file, and then fill in your own credentials.
cp .env-example .env
- Run the following command
yarn install & yarn bootstrap
By executing this command, all the required dependencies will be installed, and the script will be launched to listen for Stripe responses (webhooks) and effectively handle payment transactions
you can find more information in the package.json
file
Feel free to help me improve and implement new features for this application, and so on. Thank you for being here.