This is the React-based UI for SimBank. It connects to the backend service to simulate banking operations.
- Node.js 18+
- npm or yarn
- Docker + Docker Compose (optional)
- Install Node.js 18+.
- Install dependencies:
npm install
- Start the development server:
The app runs at: http://localhost:5173
npm run dev
- Build for production:
npm run build
Build and start the container:
docker compose up --buildThe app will be available at http://localhost:5173.
Use --build again whenever the code changes.
| File/Folder | Purpose |
|---|---|
src/ |
React source code |
index.html |
Entry HTML |
Dockerfile |
Build container image |
docker-compose.yml |
Run the app with Docker |
Adjust the backend URL in src/server_link.js and edit vite.config.js if you need a custom API endpoint.
MIT