Skip to content

cedefrespo/bank-app

Repository files navigation

Bank Account Management App

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.

Features

  • 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.

Technologies Used

  • 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.

Setup

  1. Clone the repository:
git clone <repo-url>
  1. Navigate to the project directory:
cd <project-folder>
  1. Install dependencies:
npm install
  1. Run the development server:
npm run dev
  1. Open the app in your browser at http://localhost:3000.

API Endpoints (for backend integration)

  • POST /accounts: Create a new account.
  • POST /transactions: Perform a transaction (deposit or withdrawal).

Future Improvements

  • Add user authentication (login/logout).
  • Implement error handling and validation for user inputs.
  • Add transaction history view.

About

React/Next.js basic bank app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published