This is a simple frontend application built with React, Next.js, and TailwindCSS that allows users to create a bank account, perform transactions (deposit and withdrawal), and view the current balance. The app communicates with a backend service to store and process account information and transactions.
- Create an account: Users can create an account by providing their name and account number.
- Deposit and withdrawal: Users can deposit or withdraw money from their account.
- Balance display: The current account balance is displayed after each transaction.
- Responsive design: The app is designed to be responsive and works well on both desktop and mobile devices.
- React: JavaScript library for building user interfaces.
- Next.js: React framework for building server-side rendered applications.
- TailwindCSS: Utility-first CSS framework for styling.
- Fetch API: For making requests to the backend server to manage accounts and transactions.
- Clone the repository:
git clone <repo-url>- Navigate to the project directory:
cd <project-folder>- Install dependencies:
npm install- Run the development server:
npm run dev- Open the app in your browser at http://localhost:3000.
POST /accounts: Create a new account.POST /transactions: Perform a transaction (deposit or withdrawal).
- Add user authentication (login/logout).
- Implement error handling and validation for user inputs.
- Add transaction history view.