https://github.com/hirwajeaneric/promptopia
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.
https://github.com/hirwajeaneric/promptopia
googleauthenticaion javascript mongodb nextauth-google nextjs13 nodejs reactjs server-side-rendering
Last synced: 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/hirwajeaneric/promptopia
- Owner: hirwajeaneric
- License: mit
- Created: 2023-12-09T10:16:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-04T07:59:21.000Z (about 2 years ago)
- Last Synced: 2026-01-03T14:34:18.979Z (5 months ago)
- Topics: googleauthenticaion, javascript, mongodb, nextauth-google, nextjs13, nodejs, reactjs, server-side-rendering
- Language: JavaScript
- Homepage: https://promptopia-eric.vercel.app
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction
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.
## Getting Started
1. Start by [cloning](https://github.com/hirwajeaneric/Promptopia.git) the project or download it
2. After cloning the project, install the dependencies by running:
```bash
cd Promptopia
npm install
```
3. 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
```bash
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=
```
4. Run the development server:
```bash
npm run dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.