A Next.js application that provides an interactive chatbot interface for handling NDA (Non-Disclosure Agreement) related queries and conversations.
- Interactive chatbot interface
- OpenAI-powered responses
- Modern React components with Tailwind CSS
- TypeScript support
- Responsive design
- Node.js 18+
- npm, yarn, pnpm, or bun
- OpenAI API key
git clone https://github.com/The-Learning-Algorithm/ai-nda-chatbot
cd ai-nda-chatbot
npm install
# or
yarn install
# or
pnpm install
# or
bun install
Create a .env
file in the root directory and add your OpenAI API key:
OPENAI_API_KEY=your_openai_api_key_here
Important: Replace your_openai_api_key_here
with your actual OpenAI API key. You can get one by signing up at OpenAI's platform.
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the application.
- Framework: Next.js 15.3.3
- Language: TypeScript
- Styling: Tailwind CSS
- Icons: Heroicons
- AI: OpenAI API
ai-nda-chatbot/
├── app/ # Next.js app directory
├── lib/ # Utility functions and configurations
├── public/ # Static assets
├── .env # Environment variables (create this)
├── package.json # Dependencies and scripts
└── README.md # This file
Variable | Description | Required |
---|---|---|
OPENAI_API_KEY |
Your OpenAI API key for chatbot functionality | Yes |
The easiest way to deploy your Next.js app is to use the Vercel Platform.
- Push your code to GitHub
- Import your project to Vercel
- Add your
OPENAI_API_KEY
environment variable in Vercel's dashboard - Deploy!
For other deployment platforms, make sure to:
- Set the
OPENAI_API_KEY
environment variable - Run
npm run build
to build the application - Start the server with
npm run start
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have questions, please open an issue on the repository.