A modern tax assistant chatbot that helps users with ITR filing, tax calculations, and provides tax-saving recommendations.
- 🤖 Interactive Tax Assistant Chatbot
- 💰 Tax Calculator with Old and New Regime Support
- 📝 Complete ITR Form Suite (ITR-1 to ITR-7)
- 💡 Comprehensive Tax Saving Guide
- 🌓 Dark/Light Theme Support
- 🔒 Secure Authentication System
- 📱 Responsive Design
- 📊 Tax Analytics Dashboard
- 📥 Chat History with PDF Export
Before you begin, ensure you have the following installed:
Open Windows PowerShell and follow these steps:
- Clone the repository:
git clone https://github.com/bhaveshburad729/Smart-ITR-Chatbot.git
cd Smart-ITR-Chatbot
- Set up the backend:
cd backend
npm install bcryptjs cors express-validator mongoose express dotenv jsonwebtoken
npm install
- Create a .env file in the backend directory:
New-Item .env
Add the following content to .env:
MONGODB_URI=Your mongo URL
JWT_SECRET= YOUR JWT SECRET KEY
PORT=5000
If the provided cluster isn't working, follow these steps to create your own:
- Create a MongoDB Atlas account:
# Visit MongoDB Atlas website
Start-Process "https://www.mongodb.com/cloud/atlas/register"
-
Set up a new cluster:
- Click "Build a Database"
- Choose "FREE" tier
- Select your preferred provider & region
- Click "Create"
-
Configure database access:
- Go to Security → Database Access
- Click "Add New Database User"
- Create username and password
- Select "Read and write to any database"
- Click "Add User"
-
Configure network access:
- Go to Security → Network Access
- Click "Add IP Address"
- Click "Allow Access from Anywhere" (for development)
- Click "Confirm"
-
Get your connection string:
- Go to "Database" under "Deployment"
- Click "Connect"
- Choose "Drivers"
- Copy the connection string
-
Update your .env file:
MONGODB_URI=your_new_connection_string
# Replace <password> with your database user password
- Set up the frontend:
cd ..
cd frontend
npm install
- Start the backend server (in one PowerShell window):
cd backend
npm run dev
- Start the frontend development server (in another PowerShell window):
cd frontend
npm run dev
- Access the application:
- Open your browser and navigate to
http://localhost:3000
- You'll be redirected to the sign-in page
- Create a new account or sign in with existing credentials
The application provides access to all Income Tax Return forms:
- ITR-1 (Sahaj): For individuals with salary/pension income
- ITR-2: For individuals with capital gains/foreign income
- ITR-3: For individuals with business/professional income
- ITR-4 (Sugam): For presumptive business income
- ITR-5: For firms, LLPs, and AOPs
- ITR-6: For companies
- ITR-7: For charitable trusts, political parties
Access comprehensive tax-saving information:
- Section 80C deductions (₹1.5 Lakhs limit)
- Section 80D health insurance benefits
- NPS and pension schemes
- Home loan tax benefits
- Other important deductions
- Secure sign-up and sign-in system
- Protected routes for authenticated users
- JWT-based authentication
- Interactive chat interface
- Context-aware responses
- Tax-related query handling
- Chat history with PDF download option
- Smart form recommendations
- Support for both old and new tax regimes
- Real-time calculations
- Detailed breakdown of tax components
- Advance tax calculation
- User profile customization
- Document upload capability
- Tax filing history
- Notification system
If you encounter any issues:
- Port already in use:
# Find process using port
netstat -ano | findstr :5000
# Kill process (replace PID with actual process ID)
taskkill /PID <PID> /F
- MongoDB connection issues:
# Check MongoDB service status
Get-Service MongoDB
# Start MongoDB service if stopped
Start-Service MongoDB
- Node modules issues:
# Remove node_modules and reinstall
Remove-Item -Recurse -Force node_modules
npm install
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by Code_Hackers