An intelligent chatbot assistant that helps students navigate the Ashesi Student Handbook. Built with React frontend and Python Flask backend.
Demo: https://www.youtube.com/watch?v=jiFGt-RouaA&feature=youtu.be
- Interactive Chat Interface: Modern, responsive chat UI built with React and Tailwind CSS
- Handbook Knowledge: AI-powered responses about Ashesi University policies and procedures
- Beautiful Design: Gradient themes and smooth animations using Framer Motion
- Real-time Communication: Fast API responses with axios integration
- React 19 - Modern UI framework
- Tailwind CSS v3 - Utility-first CSS framework
- Framer Motion - Animation library
- Heroicons - Beautiful SVG icons
- CRACO - Create React App Configuration Override
- Python Flask - Web framework
- Flask-CORS - Cross-Origin Resource Sharing
HandBookBot/
├── frontend/ # React application
│ ├── src/
│ │ ├── components/ # React components
│ │ ├── App.jsx # Main app component
│ │ └── index.css # Global styles
│ ├── public/ # Static assets
│ ├── package.json # Frontend dependencies
│ └── tailwind.config.js # Tailwind configuration
├── backend/ # Flask API (if exists)
├── app.py # Main Flask application
├── test_connection.py # Connection testing
└── README.md # Project documentation
- Node.js (v16 or higher)
- Python (v3.8 or higher)
- npm or yarn
-
Clone the repository
git clone <your-repo-url> cd HandBookBot
-
Set up the Frontend
cd frontend npm install -
Set up the Backend
# Create virtual environment python -m venv venv # Activate virtual environment # On macOS/Linux: source venv/bin/activate # On Windows: venv\Scripts\activate # Install dependencies pip install flask flask-cors
-
Start the Backend Server
python main.py
The API will be available at
http://localhost:5000 -
Start the Frontend Development Server
cd frontend npm run startThe app will be available at
http://localhost:3000For the .env variables, feel free to reach me at brigidiablay@gmail.com
- Gradient Themes: Beautiful orange-to-red gradients matching Ashesi branding
- Glass Morphism: Modern glassmorphism effects with backdrop filters
- Responsive Design: Mobile-first approach with Tailwind breakpoints
- Smooth Animations: Framer Motion animations for enhanced UX
- Custom Scrollbars: Styled scrollbars for chat interface
The project uses Tailwind CSS v3 with custom configuration:
- Custom colors for Ashesi branding
- Extended animations and keyframes
- Inter font family integration
Configured with:
- Tailwind CSS processing
- Autoprefixer for browser compatibility
- CRACO Configuration: Used to override Create React App webpack settings
- Polyfill Setup: Configured for browser compatibility with Node.js modules
- ESLint Warnings: Currently has some unused imports that can be cleaned up
- Fork the repository
- Create a 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.
This project is designed to help students navigate Ashesi University's student handbook and policies. For more information about Ashesi University, visit ashesi.edu.gh.
Built with ❤️ for the Ashesi University community