!GitHub deployments](https://img.shields.io/github/deployments/hookshoot/gatere-bot/production?style=flat&logo=vercel&logoColor=white&label=vercel)\n# GatereBot\nGatereBot is a ChatGPT-inspired project that leverages the OpenAI API for real-time natural language processing. It is built using NextJS, Tailwind CSS, OpenAI API, MongoDB and Mongoose for chat storage, React Markdown, Vercel AI SDK, and Next Auth for authentication.\n
bash\ngit clone https:\/\/github.com\/hookshoot\/gatere-bot.git\n
\n2. Install dependencies:\n\nbash\ncd gatere-bot\npnpm install\n
\n3. Create a .env
file in the root directory and define the environment variables stated below:\n\nbash\nNEXTAUTH_SECRET=replace_me\nGITHUB_ID=replace_me\nGITHUB_SECRET=replace_me\nGOOGLE_CLIENT_ID=replace_me\nGOOGLE_CLIENT_SECRET=replace_me\nOPENAI_API_KEY=replace_me\nMONGODB_URI=replace_me\n
\n4. Run the development server:\n\nbash\npnpm run dev\n
\n5. Visit the local server at http://localhost:3000.\n## Deployment\nGatereBot is deployed on Vercel. Pushes to main branch trigger automatic deployments. Visit the live version at https://gaterebot.vercel.app/\n## Contributing\nContributions are welcome. Follow these steps to contribute:\n1. Fork the repository.\n2. Create a new branch for your feature:\n\nbash\ngit checkout -b feature-name\n
\n3. Commit your changes:\n\nbash\ngit commit -m "Your commit message here."\n
\n4. Push your branch to your fork:\n\nbash\ngit push origin feature-name\n
\n5. Open a pull request to the original repository's main branch.