A simple chatbot which helps people t understand the rules of the new tax regulations in Nigeria
# TAXY - Nigerian Tax Law Chatbot
A simple MVP chatbot application that helps people understand new Nigerian government tax laws.
## Features
- **Interactive Chat Interface**: Ask questions about Nigerian tax laws in plain English
- **Quick Tax Calculator**: Calculate your 2026 Nigerian income tax instantly
- Supports both annual and monthly income input
- Shows detailed tax breakdown by brackets
- Displays effective tax rate and take-home pay
- Mobile-responsive design
- **Smart Knowledge Engine**: Matches questions to relevant tax topics and FAQs
- **Mobile-Friendly**: Responsive design that works on all devices
- **Real-time Responses**: Fast, cached responses for common questions
## Project Structure
This is a monorepo with three packages:
- `packages/shared` - Shared TypeScript types and interfaces
- `packages/backend` - Node.js/Express API server
- `packages/frontend` - React frontend application with Vite
## Development Setup
1. Install dependencies:
```bash
npm install
```
2. Build shared types:
```bash
npm run build:shared
```
3. Start development servers:
```bash
npm run dev
```
This will start both the backend server (port 3001) and frontend development server (port 3000).
## Available Scripts
- `npm run dev` - Start both frontend and backend in development mode
- `npm run build` - Build all packages for production
- `npm run test` - Run tests across all packages
- `npm run lint` - Run linting across all packages
- `npm run clean` - Clean build artifacts
## Individual Package Scripts
### Frontend (packages/frontend)
- `npm run dev --workspace=frontend` - Start frontend dev server
- `npm run build --workspace=frontend` - Build frontend for production
### Backend (packages/backend)
- `npm run dev --workspace=backend` - Start backend dev server
- `npm run build --workspace=backend` - Build backend for production
### Shared (packages/shared)
- `npm run build --workspace=shared` - Build shared types
- `npm run dev --workspace=shared` - Watch a …