Skip to content

ArthurStep/CurrencyConverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CurrencyConverter

Web Currency Converter with live API integration and manual exchange rate management by the administrator.

Architecture

Core Classes

  • CurrencyConverterApplication: Main entry point of the Spring Boot application.
  • MainController: Handles main pages rendering (index, admin login).
  • AdminProcessController: Handles administrator authentication and currency update processes.
  • GetCurrencyController: Handles processing user currency conversion requests.
  • Course: Entity representing a currency exchange rate in the database.
  • CoursesRepo: Repository for database access to currency courses.
  • CurrencyApiService: Integrates with external currency API to fetch live rates.
  • CurrencyGetService: Service for managing internal currency rates.
  • AppMailSender & AdminService: Handle email verification and administrator code generation.

Development

Project Structure

src/main/java/main/artfix/currencyconverter/
├── CurrencyConverterApplication.java  # Main entry point of the application
├── controllers/
│   ├── MainController.java            # Handle basic page routing
│   ├── AdminProcessController.java    # Handle admin logic and verification
│   └── GetCurrencyController.java     # Handle user conversion requests
├── models/
│   └── Course.java                    # Database entity for courses
├── repos/
│   └── CoursesRepo.java               # JPA repository for the database
└── service/
    ├── AdminService.java              # Admin logic
    ├── AppMailSender.java             # Email sending functionality
    ├── CurrencyApiService.java        # External API communication
    ├── CurrencyGetService.java        # Handle courses logic
    ├── MainPageBanksService.java      # Main page logic
    └── RandomCodeService.java         # Verification code generator

📄 License

This project is open source and available under the MIT License.

👨‍💻 Author

Arthur Stepanyan

Built with ☕ and lots of strategic thinking!

About

Web Currency Converter by API + exchange rate change by the administrator

Topics

Resources

Stars

Watchers

Forks

Contributors