- Discover Prompts: Explore a wide range of creative and useful AI-powered prompts shared by the community. π
- Share Your Prompts: Easily upload and share your prompts to help others find solutions and generate ideas. βοΈ
- Copy with One Click: Instantly copy prompts using the dedicated copy button. π
- Search Functionality: Use the advanced search bar to find prompts by tags or usernames. π
- Fully Responsive: Enjoy a seamless experience on all devices, from desktops to tablets and smartphones. π±π»
- Cross-Browser Compatibility: Works flawlessly on all major browsers like Chrome, Firefox, Safari, and Edge. π
Set up the platform locally by following these steps:
- Node.js (v14 or higher)
- Git
-
Clone the Repository:
git clone https://github.com/himanshu-tyd/prompt-x
-
Navigate to the Project Directory:
cd promptx
-
Install Dependencies:
npm install
-
Set Up Environment Variables: Create a new file named
.env
in the root of your project and add the following lines:GOOGLE_ID=your_google_id GOOGLE_SECRET=your_google_secret MONGODB_URI=your_mongodb_uri NEXTAUTH_URL=http://localhost:3000 NEXTAUTH_URL_INTERNET=http://localhost:3000 NEXTAUTH_SECRET=your_nextauth_secret
π Replace the placeholders with your actual values. π Make sure to add the
.env
file to your.gitignore
file so that it's not committed to your version control system. π οΈ Use a library likedotenv
to load the environment variables in your Next.js application. -
Start the Development Server:
npm start
-
Access the Application: Open your browser and navigate to
http://localhost:3000
.
-
Sign In/Sign Up: Click on the "Sign In" button to log in or register. π
-
Discover Prompts: Browse the home page for the latest shared prompts. π
-
Search for Prompts: Use the search bar to find prompts by tags or usernames. π
-
Share Prompts: Log in to your account to share your own prompts. βοΈ
-
Copy Prompts: Click the copy button to instantly save a prompt to your clipboard. π
Frontend:
- React.js (UI Framework)
- Tailwind CSS (Styling)
Backend:
- Node.js
- Express.js
Database:
- MongoDB
Authentication:
- NextAuth.js
We welcome contributions from the community! Follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature/bug fix:
git checkout -b feature-name
- Commit your changes:
git commit -m "Add feature description"
- Push to your fork:
git push origin feature-name
- Submit a pull request.
This project is licensed under the MIT License.
If you have any feedback or suggestions, feel free to open an issue or reach out to us:
- Email: code.himanshu93@gmail.com
- GitHub: @himanshu-tyd
We hope you enjoy using PromptX! We're always open to feedback and suggestions. If you have any, feel free to open an issue or reach out to us. π