https://github.com/ramithperera/promptopia_project
A webapp dedicated to store and exchange AI prompts
https://github.com/ramithperera/promptopia_project
nextauth nextjs reactjs vercel
Last synced: 4 months ago
JSON representation
A webapp dedicated to store and exchange AI prompts
- Host: GitHub
- URL: https://github.com/ramithperera/promptopia_project
- Owner: ramithperera
- Created: 2023-07-14T18:33:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-15T06:24:48.000Z (almost 2 years ago)
- Last Synced: 2025-01-04T02:52:09.927Z (6 months ago)
- Topics: nextauth, nextjs, reactjs, vercel
- Language: JavaScript
- Homepage: https://promptopia-project-one.vercel.app
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Getting Started
## Prerequisites
Before starting this project make sure that you have installed all of these prerequisites on your local machine- [Node.js](https://nodejs.org/en/download/)
- [npm](https://www.npmjs.com/get-npm) or [yarn](https://yarnpkg.com/getting-started/install) or [pnpm](https://pnpm.io/installation)
- [git](https://git-scm.com/downloads)## Setting up the project
- Create the .env file in the root folder
- Add following variables with your data
```bash
GOOGLE_ID=your_google_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
MONGODB_URI=your_mongodb_connection_string
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_URL_INTERNAL=http://localhost:3000
NEXTAUTH_SECRET=your next auth secret
```- Install the dependencies
```bash
npm install
# or
yarn install
# or
pnpm install
```- Finally, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
### Sneak peek of the app
