MintPay is a seamless and secure digital payments platform that allows users to send and receive money, track expenses, apply for loans, and manage their Mint Wallet for hassle-free transactions.
- Send Money: Instantly transfer money to other MintPay users.
- Request Money: Request payments from friends, family, or clients.
- Transaction History: View a detailed record of all your transactions.
- Spending Insights: Get insights into your spending habits with categorized reports.
- Apply for Loans: Seamlessly apply for short-term loans through the platform.
- Loan Status Tracking: Monitor the status of your loan applications in real time.
- Add Money: Top up your Mint Wallet for quick, pinless transactions.
- Withdraw Funds: Transfer money from your Mint Wallet to your linked bank account.
- Frontend: Next.js, Tailwind CSS
- Backend: Next.js API Routes, Prisma
- Database: PostgreSQL
- Authentication: Auth.js
- Node.js (v20+ recommended)
- PostgreSQL database setup
- Clone the repository:
git clone https://github.com/yourusername/mintpay.git
cd mintpay- Install dependencies:
npm install- Set up environment variables:
cp .env.example .envFill in the necessary credentials in the .env file.
- Run the development server:
npm run dev- Open your browser and navigate to http://localhost:3000
MintPay exposes Prometheus metrics at /api/metrics.
- Start your app first:
npm run dev- Start Prometheus and Grafana:
npm run monitoring:up- Open:
- Prometheus: http://localhost:9090
- Grafana: http://localhost:3001
Grafana default credentials:
- Username:
admin - Password:
admin
Prometheus is pre-configured to scrape:
Grafana auto-provisions:
- Prometheus data source
- Dashboard: MintPay / MintPay Overview
npm run monitoring:logs
npm run monitoring:downContributing
We welcome contributions! Feel free to submit issues and pull requests to enhance MintPay.