- Created by: Fabricio Braga - Last update: March, 24th
A simple React banking application that demonstrates component composition, state management, and data flow between parent and child components. The app displays users and their financial transactions in a clean 3-column grid layout.
- View multiple users with their transaction histories
- Add deposit or withdrawal transactions to any user
- Color-coded transaction types (green for deposits, red for withdrawals)
- Responsive grid layout (3 columns on desktop, 2 on tablet, 1 on mobile)
- Clean, modern UI with intuitive controls
-
Clone the repository:
git clone https://github.com/your-username/bank-app.git cd bank-app
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Open in your browser: The app will automatically open at http://localhost:5173
bank-app/
├── public/
├── src/
│ ├── components/
│ │ ├── User.jsx
│ │ └── TransactionList.jsx
│ ├── App.jsx
│ ├── App.css
│ └── main.jsx
├── package.json
└── README.md
npm run dev
: Starts the development servernpm run build
: Builds the app for productionnpm run lint
: Runs ESLintnpm run preview
: Previews the production build
- React 18
- Vite 4
- React DOM
You can easily customize this app by:
- Adding more users in
App.jsx
- Modifying transaction amounts in the action buttons
- Changing the color scheme in
App.css
- Adding new transaction types
Contributions are welcome! Please open an issue or submit a pull request.