Skip to content

hafeefas/ai-chatbot-next

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

HafeefAI Chatbot App

πŸ“š Overview

The HafeefAI Chatbot App is a web application built using Next.js, TypeScript, and FastAPI. It is designed to interact with users through an AI-powered chatbot, providing engaging and informative responses. The frontend is powered by Next.js and TypeScript, while the backend uses FastAPI to handle API calls and data processing.

πŸ’‘ Inspiration

I have always been fascinated by AI agents and wanted to explore how they work, which inspired me to create this chatbot app. It was an incredible learning experience to understand what's involved in building an AI-driven application, especially when integrating technologies like Anthropic's API. I also wanted to deepen my backend development skills and ended up learning a lot about Python and FastAPI throughout this project.

πŸš€ Tech Stack

  • Frontend: Next.js, TypeScript, React
  • Backend: FastAPI, Python

βš™οΈ Features

  • AI-powered chatbot interactions
  • Dynamic and responsive UI
  • Efficient API integration with FastAPI

πŸ“¦ Installation

  1. Clone the repository
git clone https://github.com/hafeefas/ai-chatbot-next.git
  1. Navigate to frontend and install dependencies
cd frontend
npm install
  1. Run the frontend
npm run dev
  1. Navigate to backend and set up the virtual environment
cd backend
python -m venv env
source env/bin/activate  # On Windows use: .\env\Scripts\activate
  1. Install backend dependencies
pip install -r requirements.txt
  1. Run the backend
python -m fastapi dev main.py
  1. Open the app at http://localhost:3000

🀝 Contributing

Feel free to submit issues or pull requests for new features and improvements.

πŸ“œ License

This project is licensed under the MIT License.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published