nextjs13-prompt-ai-assistant
nextjs13-prompt-ai-assistant copied to clipboard
incredible AI-Prompts Sharing Web Application - modern full-stack Next.js 13 application powered by MongoDB 🤖

AI-Prompt Sharing Web
well-designed full-stack web application for share & disocver AI-Prompts - using Next.js 13 powered by MongoDB.
View Demo · Documentation · Report Bug · Request Feature
:notebook_with_decorative_cover: Table of Contents
- About the Project
- Folder Structure
- Tech Stack
- Getting Started
- Environment Variables
- Installation
- Run Locally
- Contributing
- License
- Contact
- Acknowledgements
:star2: About the Project
This repository houses an incredible AI-Prompts Sharing Web Application - modern full-stack Next.js 13 application powered by MongoDB 🤖
:bangbang: Folder Structure
Here is the folder structure of CreativAI.
AI-Prompt-Sharing-Web/
|- app/
|-- api/
|-- auth/[...nextauth]
|-- prompt/
|-- [id]/
|-- new/
|-- users/[id]/posts/
|-- create-prompt/
|-- profile/
|-- update-prompt/
|- components/
|- models/
|- public/assets/
|- styles/
|- utils/
|- jsconfig.json
|- next.config.js
|- package.json
|- postcss.config.js
|- tailwind.config.js
:space_invader: Tech Stack
(back to top)
:toolbox: Getting Started
:key: Environment Variables
In order to use this AI-Prompt Sharing Webapp you have to add some environment variables to .env file,
create .env file in root folder & add the following environment variable:
GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID>
GOOGLE_SECRET_ID=<GOOGLE_SECRET_ID>
MONGODB_URI=<MONGODB_URI>
MONGODB_DB=<DATABASE_NAME>
NEXTAUTH_URL=<BASE_URL>
NEXTAUTH_URL_INTERNAL=<BASE_URL>
NEXTAUTH_SECRET=<SECRET> // generate one using openssl (`openssl rand -base64 32`)
:gear: Installation
Step 1:
Download or clone this repo by using the command below:
https://github.com/ladunjexa/AI-Prompt-Sharing-Web.git
Step 2:
This webapp using NPM (Node Package Manager), therefore, make sure that Node.js is installed by execute the following command in console:
node -v
Step 3:
In root folder execute the following command to get the required packages:
npm install
:running: Run Locally
Step 1:
Go to root folder and execute the following command in order to run the webapp:
npm run dev
(back to top)
:wave: Contributing
Contributions are always welcome!
See contributing.md for ways to get started.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
(back to top)
:warning: License
Distributed under the MIT License. See LICENSE.txt for more information.
(back to top)
:handshake: Contact
Liron Abutbul - @lironabutbul6 - @ladunjexa
Project Link: https://github.com/ladunjexa/AI-Prompt-Sharing-Web
(back to top)
:gem: Acknowledgements
This section used to mention useful resources and libraries that used in CreativAI Webapp:
- React Framework
- Next.js 13
- NextAuth.js
- TailwindCSS
- MongoDB
- Mongoose
- #JSMastery
(back to top)