Skip to content

About

A simple Finance Transfer Scheduler. This application allows users to register, log in, schedule financial transfers, and view their statements.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

37 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Finance Transfer Scheduler

A simple Finance Transfer Scheduler.
This application allows users to register, log in, schedule financial transfers, and view their statements.

It is a fullstack project built with Spring Boot (Java 11) on the backend and Vue 3 + Vite + Tailwind on the frontend.


🚀 Tech Stack

Frontend

Backend

  • Spring Boot 2.7.18
  • Java 11
  • Spring Data JPA
  • Spring Security + OAuth2 Resource Server
  • Flyway (database migrations)
  • H2 (configured as file-based so data persists while the container lives)
  • Lombok
  • MapStruct
  • Springdoc OpenAPI (Swagger UI)

📂 Project Structure

finance-transfer-scheduler/
│
├── backend/                # Spring Boot backend
│   ├── src/main/java/...   # Java source code
│   ├── pom.xml             # Maven configuration
│   └── Dockerfile
│
├── frontend/               # Vue 3 frontend
│   ├── src/                # Vue components, pages, store
│   ├── package.json
│   ├── vite.config.ts
│   └── Dockerfile
│
├── docker-compose.yml      # Orchestration for frontend + backend
└── README.md

🐳 Running with Docker

The project includes a docker-compose.yml to run both frontend and backend together.

Build and start containers

docker-compose up --build

Services

The backend has a healthcheck configured, and the frontend depends on it.


🛠️ Running locally (without Docker)

Backend

cd backend
./mvnw spring-boot:run

Backend will start at: http://localhost:8080

Swagger UI: http://localhost:8080/swagger-ui.html

Frontend

cd frontend
npm install
npm run dev

Frontend will start at: http://localhost:5173


📖 Features

  • User Authentication (register, login, JWT-based security)
  • Schedule Transfers with:
    • Origin account (user’s account)
    • Destination account
    • Amount
    • Transfer date
    • Automatic fee calculation based on rules
  • Fee Calculation Rules:
    • 0 days → R$3.00 + 2.5%
    • 1–10 days → R$12.00
    • 11–20 days → 8.2%
    • 21–30 days → 6.9%
    • 31–40 days → 4.7%
    • 41–50 days → 1.7%
    • 50 days → not allowed

  • Wallet Statement: list of all scheduled transfers with balance updates
  • Persistence: H2 (file-based for container stability)

📦 Build

Frontend

cd frontend
npm run build

Output will be in frontend/dist/.

Backend

cd backend
./mvnw clean package

Output JAR will be in backend/target/.


📑 API Documentation

The backend exposes OpenAPI docs via Springdoc:

  • Swagger UI → http://localhost:8080/docs
  • OpenAPI JSON → http://localhost:8080/docs/api
  • Redoc → http://localhost:8080/redoc

📝 Development Notes

  • Java version: 11
  • Node version: 18+ recommended
  • Database: H2 file-based (no external DB required)
  • Migrations: Flyway auto-applied on startup
  • Security: OAuth2 Resource Server with JWT

👨‍💻 Author

Wesley Brito
📧 wesleymuniz20@gmail.com
🔗 GitHub


About

A simple Finance Transfer Scheduler. This application allows users to register, log in, schedule financial transfers, and view their statements.

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages