Skip to content

SimBank1/frontend

Repository files navigation

SimBank Frontend 🌐

This is the React-based UI for SimBank. It connects to the backend service to simulate banking operations.


🔧 Requirements

  • Node.js 18+
  • npm or yarn
  • Docker + Docker Compose (optional)

🚀 Run Without Docker

  1. Install Node.js 18+.
  2. Install dependencies:
    npm install
  3. Start the development server:
    npm run dev
    The app runs at: http://localhost:5173
  4. Build for production:
    npm run build

🐳 Run With Docker

Build and start the container:

docker compose up --build

The app will be available at http://localhost:5173.

Use --build again whenever the code changes.


📁 Project Structure

File/Folder Purpose
src/ React source code
index.html Entry HTML
Dockerfile Build container image
docker-compose.yml Run the app with Docker

🛠 Config

Adjust the backend URL in src/server_link.js and edit vite.config.js if you need a custom API endpoint.


📜 License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages