Skip to content

The Currency Conversion API is a Java-based REST API designed for currency conversion. This project serves as an educational and reference Java project maintained on GitHub. It demonstrates key concepts of API development, including integration with external services, data persistence using an embedded DB, and route management with Apache Camel.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE-2.0
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

33mestre/java_base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

License: MIT License

Build and Test For PR

Known Vulnerabilities

GitHub repo size GitHub code size in bytes GitHub top language GitHub language count GitHub last commit

Average time to resolve an issue Percentage of issues still open


Currency Conversion API

Currency Symbol

Goal

A Currency conversion project - server, database, access clients (input data and list data).

In a Nutshell

Steps to download, install, configure, run and start the Java Rest API server, the database server, insert data into the database, as well as test and view the persisted data in the project:

Open the Command Prompt and Clone the GitHub repository and access the project folder:

git clone https://github.com/33mestre/java_base.git
cd java_base

Procedures for Unix / Linux Environment

Define Scripts Permissions:

chmod +x index.sh
chmod +x scripts/*.sh

Procedures for MS Windows Environment

No special permissions are required.

Running the Project

Execute the main script:

For Unix / Linux:

./index.sh

For Windows:

index.bat

Menu Options:

When you run the main script (index.sh or index.bat), you will be presented with the following options:

Select an option:
[1] - Server
[2] - Console
[3] - DB
[4] - Directory
[5] - Changelog

Options Description:

  • Server: Starts the Java Spring server with the application running.
  • Console: Launches the access client to interact with the currency conversion application.
  • DB: Runs the data lister to view the data persisted in the H2 database.
  • Directory: Generates the DIRECTORY.md file (used for testing purposes, as this is also automated in the CI/CD pipeline).
  • Changelog: Updates the CHANGELOG.md file (used for testing purposes, as this is also automated in the CI/CD pipeline).

With just these simple steps, you should have:

  • A Java Spring server with the application running.
  • An H2 Database server running.
  • An access client to access the currency conversion application.
  • A data lister for the data persisted in the database.

This setup requires only Docker installed, without additional installations, working in MS Windows, Linux, and Unix environments. The scripts will handle the Docker installation if it's not already installed; for MS Windows, a notification will prompt you to download it manually.


Wiki Menu

1. Introduction to the Project

  • Overview: Presentation of the project, highlighting its purpose and the context in which it is embedded.
  • Project Objectives: Enumeration of the main objectives that the project aims to achieve.
  • Scope and Functionalities: Description of the main functionalities offered by the project and its scope of operation.

2. Configuration and Installation

3. Project Structure

  • Folder Structure: Description of the organization of the project directories.
  • Project Architecture: Explanation of the architecture used, including design patterns and technical decisions.

4. Development

  • Development Flow: Description of the development process adopted, including planning, coding, and review stages.
  • Apache Camel Integration: Guide on integrating Apache Camel into the project, including configuration and usage.
  • Contributors and Authors: Recognition of the contributors to the project.
  • Contributions: Guidelines on how to contribute to the project, including code standards and pull request requirements, tips and best practices.
  • Code of Conduct: Behavioral guidelines expected for the project community.

5. API and Documentation

6. Endpoints and Database

  • Endpoint Description: Details of the available API endpoints, including methods, parameters, and usage examples.
  • Database Management: Strategies and practices for efficient management of the database used by the project.

7. Testing

  • Testing Strategies: Approach and methods used to test the software, including unit, integration, and E2E tests.
  • Testing Tools: Description of the testing tools used in the project and how to configure them.

8. CI/CD and Automations

  • CI/CD Pipeline: Explanation of the continuous integration and delivery pipeline, detailing each stage and its function.
  • Automations and Artifact Generation: Description of the automations incorporated into the CI/CD, including documentation generation and build artifacts.

9. Configuration Files

10. Best Practices

11. Legal and Licensing

  • Licensing: Information about the rights and restrictions associated with the use of the software.
  • Terms of Use: Information about the terms and conditions for using the software.

12. Projections and Innovations

  • Future Plans: Discussion on functionalities and improvements considered for future versions of the project.
  • Improvement Proposals: Space for the community to suggest and debate improvements and innovations.

13. Attachments and Useful Links

14. Security

  • Security Policy: Details on the supported versions, reporting vulnerabilities, and general security practices.

About

The Currency Conversion API is a Java-based REST API designed for currency conversion. This project serves as an educational and reference Java project maintained on GitHub. It demonstrates key concepts of API development, including integration with external services, data persistence using an embedded DB, and route management with Apache Camel.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE-2.0
MIT
LICENSE-MIT

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published