Pac-Wallet is a full-stack digital wallet application that allows users to securely manage balances, make transactions, and integrate payment gateways in a sandbox/testing environment.
Built to understand real-world fintech flows like authentication, payments, security, and scalable backend design.
- 🔐 Secure user authentication (JWT + HTTP-only cookies)
- 💰 Wallet balance management
- 📤 Send & receive money between users
- 🧪 Payment gateway sandbox integrations (for testing)
- 📜 Transaction history
- ⚡ Fast REST APIs with Node.js & Express
- 🗄 MongoDB database
Backend
- Node.js
- Express.js
- MongoDB (Mongoose)
- JWT Authentication
Tools
- Git & GitHub
- Postman
- Docker (optional)
Pac-Wallet/
│
├── routes/
├── models/
├── middleware/
├── package.json
└── server.js
Clone the repository:
git clone https://github.com/AryanPachandi/Pac-Wallet.git
cd Pac-WalletInstall dependencies:
npm installCreate a .env file:
MONGO_URI=your_mongodb_connection
JWT_SECRET=your_secret_key
Run the server:
npm run dev| Method | Route | Description |
|---|---|---|
| POST | /api/auth/register | Register user |
| POST | /api/auth/login | Login user |
| GET | /api/wallet/balance | Get balance |
| POST | /api/wallet/transfer | Send money |
| GET | /api/wallet/history | Transactions |
- Password hashing (bcrypt)
- JWT authentication
- HTTP-only cookies
- Protected routes middleware
- Input validation
Pac-Wallet was built to:
- Learn real fintech backend flows
- Practice secure authentication
- Work with payment SDK sandboxes
- Build scalable REST APIs
- Payment gateway live integration
- QR code payments
- Admin dashboard
- Two-factor authentication
- WebSocket real-time transactions
Aryan Pachandi Full Stack Developer | Backend & DevOps Focus
GitHub: https://github.com/AryanPachandi