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.
- 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.
- 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.
- Node.js and npm installed
- MongoDB Atlas account (or a locally installed MongoDB server)
- Google API credentials for OAuth authentication
- Clone the repository:
git clone https://github.com/your-username/prompt-sharing-platform.git cd prompt-sharing-platform
- Install dependencies:
npm install
- Set up environment variables:
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
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.