This project is a simple fictitious banking application API built with Node.js and Express. It provides authentication, transaction, and user account management endpoints.
- User Registration and Authentication
- Token-based Authentication with JWT
- Transaction Operations (Transfer, Deposit, Withdrawal)
- Account Balance Retrieval
- Email Verification for User Registration
- POST /api/register - User registration
- POST /api/login - User login
- POST /api/logout - User logout
- GET /api/balance - Get account balance
- POST /api/transfer - Make a transfer
- POST /api/deposit - Make a deposit
- POST /api/withdraw - Make a withdrawal
- GET /api/transactions - List user transactions
- Node.js (>= version 12)
- MongoDB
- Clone the repository:
git clone https://github.com/your-username/simple-fictitious-banking-application-api.git
- Run project
npm start