Promptopia is a simple prompt generating application build with nextjs and tailwindcss. Promptopia allows a user to create prompts which can be accessed publically and reused by others on AI Tools such as ChatGPT, Gemini and more.
-
Start by cloning the project or download it
-
After cloning the project, install the dependencies by running:
cd Promptopia
npm install
- Make sure you setup environment variables properly. To run it in your local machine, you will need to use your own local mongodb server and add the following environment variables. Note that you shall also use your own google client id to be able to run this project
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
MONGODB_URI=mongodb://localhost:27017/promptopia
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_URL_INTERNAL=http://localhost:3000
NEXTAUTH_SECRET=
- Run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.