An AI-powered retirement planning application for India's National Pension System (NPS). Get personalized retirement projections, pension simulations, and smart insights to secure your financial future.
- User Authentication - Secure signup/login with profile management
- Retirement Projections - Calculate expected corpus based on your contributions
- Pension Simulator - See how different scenarios affect your retirement income
- Risk Profile Analysis - Conservative, Moderate, or Aggressive investment strategies
- AI Coach - Get personalized retirement planning advice
- Interactive Dashboard - Visualize your retirement roadmap with charts
- Scenario Planning - Compare different retirement strategies
- React 18 with Vite
- Tailwind CSS for styling
- Framer Motion for animations
- Recharts for data visualization
- Zustand for state management
- React Router for navigation
- Node.js with Express
- MongoDB with Mongoose
- JWT Authentication
- Socket.IO for real-time updates
- OpenAI integration for AI coaching
nps-retirement-copilot/
├── frontend/
│ ├── src/
│ │ ├── components/
│ │ ├── pages/
│ │ ├── services/
│ │ ├── store/
│ │ └── utils/
│ ├── package.json
│ └── vite.config.js
│
├── backend/
│ ├── controllers/
│ ├── middlewares/
│ ├── models/
│ ├── routes/
│ ├── services/
│ └── server.js
│
└── README.md
- Node.js 18+
- MongoDB (optional - app works in demo mode without it)
- OpenAI API key (optional - for AI coaching features)
- Clone the repository:
git clone https://github.com/Anjali-Chauhan1/APIX- Install dependencies:
cd frontend
npm install- Create environment file (optional):
VITE_API_URL=http://localhost:5000/api
VITE_WS_URL=http://localhost:5000- Create backend environment file (optional):
PORT=5000
MONGODB_URI=mongodb://localhost:27017/nps-copilot
JWT_SECRET=your-secret-key
OPENAI_API_KEY=your-openai-keyStart Frontend (Development):
cd frontend
npm run devFrontend runs at: http://localhost:5173
Start Backend:
cd frontend
npm run server:devBackend runs at: http://localhost:5000
ISC
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request