{"id":31588826,"url":"https://github.com/mihir2006/expense-flow","last_synced_at":"2026-05-06T17:31:07.636Z","repository":{"id":317961108,"uuid":"1069493044","full_name":"MIHIR2006/expense-flow","owner":"MIHIR2006","description":null,"archived":false,"fork":false,"pushed_at":"2025-10-04T05:48:32.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-04T07:08:28.342Z","etag":null,"topics":["expense-tracker","fastapi","nextjs"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MIHIR2006.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-04T03:27:09.000Z","updated_at":"2025-10-04T06:41:09.000Z","dependencies_parsed_at":"2025-10-04T07:08:34.336Z","dependency_job_id":"54f0cbce-cc14-40ed-8995-b9d6928dc36b","html_url":"https://github.com/MIHIR2006/expense-flow","commit_stats":null,"previous_names":["mihir2006/expense-flow"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/MIHIR2006/expense-flow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MIHIR2006%2Fexpense-flow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MIHIR2006%2Fexpense-flow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MIHIR2006%2Fexpense-flow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MIHIR2006%2Fexpense-flow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MIHIR2006","download_url":"https://codeload.github.com/MIHIR2006/expense-flow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MIHIR2006%2Fexpense-flow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32704263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["expense-tracker","fastapi","nextjs"],"created_at":"2025-10-06T02:25:36.536Z","updated_at":"2026-05-06T17:31:07.618Z","avatar_url":"https://github.com/MIHIR2006.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Expense Flow\n\nA modern expense management application built with FastAPI and Next.js, designed to streamline expense tracking, approval workflows, and financial reporting for teams and organizations.\n\n## Features\n\n- **User Authentication \u0026 Authorization**: Secure login/signup with JWT tokens\n- **Expense Management**: Create, edit, and track expenses with categories and receipts\n- **Approval Workflows**: Multi-level approval system for expense claims\n- **Dashboard Analytics**: Visual insights into spending patterns and trends\n- **Responsive Design**: Mobile-first approach with modern UI components\n- **Real-time Updates**: Live notifications and status updates\n- **Export Capabilities**: Generate reports in multiple formats\n\n## Tech Stack\n\n### Frontend\n[![My Skills](https://skillicons.dev/icons?i=nextjs,react,typescript,tailwindcss,html,css)](https://skillicons.dev)\n\n- **Next.js 15** - React framework with App Router\n- **React 18** - UI library\n- **TypeScript** - Type-safe JavaScript\n- **Tailwind CSS** - Utility-first CSS framework\n- **Radix UI** - Accessible component primitives\n- **Framer Motion** - Animation library\n- **React Hook Form** - Form handling\n- **Zod** - Schema validation\n\n### Backend\n[![My Skills](https://skillicons.dev/icons?i=python,fastapi,sqlalchemy,alembic,pytest)](https://skillicons.dev)\n\n- **Python 3.8+** - Core programming language\n- **FastAPI** - Modern, fast web framework for building APIs\n- **SQLAlchemy** - SQL toolkit and ORM\n- **Alembic** - Database migration tool\n- **Pytest** - Testing framework\n- **Pydantic** - Data validation using Python type annotations\n- **JWT** - JSON Web Tokens for authentication\n- **Bcrypt** - Password hashing\n\n\n### Development Tools\n[![My Skills](https://skillicons.dev/icons?i=git,github,vscode,nodejs,npm)](https://skillicons.dev)\n\n- **Git** - Version control\n- **GitHub** - Code repository hosting\n- **VS Code** - Development environment\n- **Node.js** - JavaScript runtime\n- **npm** - Package manager\n\n## Project Structure\n\n```\nexpense-flow/\n├── backend/                 # FastAPI backend\n│   ├── app/\n│   │   ├── models/         # Database models\n│   │   ├── routes/         # API endpoints\n│   │   ├── schemas/        # Pydantic schemas\n│   │   ├── services/       # Business logic\n│   │   └── utils/          # Utility functions\n│   ├── tests/              # Test files\n│   ├── requirements.txt    # Python dependencies\n│   └── README.md          # Backend documentation\n├── frontend/               # Next.js frontend\n│   ├── app/               # App Router pages\n│   ├── components/        # Reusable UI components\n│   ├── lib/               # Utility functions\n│   ├── hooks/             # Custom React hooks\n│   └── public/            # Static assets\n└── readme.md              # Project documentation\n```\n\n## Getting Started\n\n### Prerequisites\n\n- Python 3.8 or higher\n- Node.js 18.0 or higher\n- npm 8.0 or higher\n\n### Backend Setup\n\n1. Navigate to the backend directory:\n   ```bash\n   cd backend\n   ```\n\n2. Create a virtual environment:\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows: venv\\Scripts\\activate\n   ```\n\n3. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. Set up environment variables:\n   ```bash\n   cp env.example .env\n   # Edit .env with your configuration\n   ```\n\n5. Run database migrations:\n   ```bash\n   alembic upgrade head\n   ```\n\n6. Start the development server:\n   ```bash\n   uvicorn app.main:app --reload\n   ```\n\nThe API will be available at `http://localhost:8000`\n\n### Frontend Setup\n\n1. Navigate to the frontend directory:\n   ```bash\n   cd frontend\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n3. Start the development server:\n   ```bash\n   npm run dev\n   ```\n\nThe application will be available at `http://localhost:3000`\n\n## API Documentation\n\nOnce the backend is running, you can access the interactive API documentation at:\n- Swagger UI: `http://localhost:8000/docs`\n- ReDoc: `http://localhost:8000/redoc`\n\n## Available Scripts\n\n### Backend\n- `uvicorn app.main:app --reload` - Start development server\n- `pytest` - Run tests\n- `alembic upgrade head` - Run database migrations\n\n### Frontend\n- `npm run dev` - Start development server\n- `npm run build` - Build for production\n- `npm run start` - Start production server\n- `npm run lint` - Run ESLint\n- `npm run typecheck` - Run TypeScript type checking\n- `npm run test:all` - Run all checks and tests\n\n## Environment Variables\n\n### Backend (.env)\n```env\n# Application\nAPP_NAME=Expense Flow API\nDEBUG=False\nVERSION=1.0.0\n\n# Database\nDATABASE_URL=sqlite:///./expense_flow.db\n\n# Security\nSECRET_KEY=your-secret-key-change-in-production\nALGORITHM=HS256\nACCESS_TOKEN_EXPIRE_MINUTES=30\n\n# CORS\nALLOWED_ORIGINS=http://localhost:3000,http://localhost:3001\n```\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## Testing\n\n### Backend Testing\n```bash\ncd backend\npytest\n```\n\n### Frontend Testing\n```bash\ncd frontend\nnpm run test:all\n```\n\n## Deployment\n\n### Backend Deployment\nThe FastAPI application can be deployed using:\n- Docker\n- Heroku\n- Railway\n- DigitalOcean App Platform\n- AWS/GCP/Azure\n\n### Frontend Deployment\nThe Next.js application is configured for static export and can be deployed to:\n- Vercel\n- Netlify\n- GitHub Pages\n- AWS S3 + CloudFront\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Support\n\nIf you have any questions or need help, please:\n1. Check the [Issues](https://github.com/MIHIR2006/expense-flow/issues) page\n2. Create a new issue if your problem isn't already reported\n3. Contact the maintainers\n\n## Roadmap\n\n- [ ] Advanced reporting features\n- [ ] Integration with accounting software\n- [ ] Multi-currency support\n- [ ] Advanced approval workflows\n- [ ] API rate limiting\n- [ ] Caching layer (Redis)\n- [ ] Background job processing","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmihir2006%2Fexpense-flow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmihir2006%2Fexpense-flow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmihir2006%2Fexpense-flow/lists"}