Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Priyam-28/Prompt-Lab

The Prompt Sharing Platform is a user-friendly web application enabling creative writers to generate, modify, and exchange writing prompts effortlessly. Integrated with Google authentication via NextAuth.js, it offers personalized profiles for users to manage their prompts conveniently. With MongoDB for data storage and Tailwind CSS for styling, it
https://github.com/Priyam-28/Prompt-Lab

Last synced: 11 days ago
JSON representation

The Prompt Sharing Platform is a user-friendly web application enabling creative writers to generate, modify, and exchange writing prompts effortlessly. Integrated with Google authentication via NextAuth.js, it offers personalized profiles for users to manage their prompts conveniently. With MongoDB for data storage and Tailwind CSS for styling, it

Awesome Lists containing this project

README

        

# Prompt Lab-A Sharing Platform

Welcome to the **Prompt Lab**! This application allows users to create, edit, delete, and share creative writing prompts. Users can sign in with their Google accounts, manage their profiles, and interact with prompts shared by others.

## Features

- **User Authentication**: Sign in with Google authentication using NextAuth.js.
- **Profile Management**: Personalized profile pages where users can view, edit, and delete their prompts.
- **Prompt Creation and Editing**: Create new writing prompts and edit existing ones with ease.
- **Search and Filter**: Search for prompts by tags or usernames.
- **Responsive Design**: A user-friendly interface that works seamlessly on both desktop and mobile devices.

## Technology Stack

- **Next.js**: A React framework for server-side rendering and generating static websites.
- **NextAuth.js**: For authentication with Google.
- **MongoDB**: A NoSQL database for storing user data and prompts.
- **Mongoose**: An ODM (Object Data Modeling) library for MongoDB and Node.js.
- **React**: A JavaScript library for building user interfaces.
- **Tailwind CSS**: A utility-first CSS framework for styling.

## Getting Started

### Prerequisites

- Node.js and npm installed
- MongoDB Atlas account (or a locally installed MongoDB server)
- Google API credentials for OAuth authentication

### Installation

1. **Clone the repository:**
```bash
git clone https://github.com/your-username/prompt-sharing-platform.git
cd prompt-sharing-platform

2. **Install dependencies:**
```bash
npm install

3. **Set up environment variables:**
```bash
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
MONGODB_URI=your-mongodb-connection-string\

4.**Run the development server:**
```bash
npm run dev

## Contributing
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.