GithubHelp home page GithubHelp logo

avanishmani / sustainiamassignment Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 69 KB

App for paid annual expense reports. Users log in via JWT, fill form with name, year, monthly expenses. System calculates monthly/yearly expenses. Download requires payment with Cash Free Java SDK. Architecture: Microservices - Payment, Expense, Authentication; API Gateway, Service Registry. PDF preferred.

Java 100.00%
java micro my spring-security springboot springjp exception-handling hibernate-orm validation

sustainiamassignment's Introduction

SustainiamAssignment - Expense Calculation App

Description

Our app is an efficient expense calculation tool that enables users to obtain paid annual reports. The application flow begins with JWT Authentication for secure user login. Users are then prompted to fill out a simple form providing their name and the relevant year, along with monthly expense details in three categories: Household, Office, and Commuting Expenditure.

The system performs two essential calculations: monthly expenses and annual expenses. Users can download the generated report after making a mandatory payment, facilitated by the Cash Free Java SDK. The report is preferably available in PDF format, but an Excel option is also provided if time constraints arise.

Microservice Architecture

The application follows a robust and scalable Microservice architecture, consisting of the following three key microservices:

  1. Payment Microservice: Responsible for handling all payment-related functionalities.
  2. Expense Microservice: Manages expense calculations for each user's data.
  3. Authentication Microservice: Handles JWT-based user authentication.

To streamline communication and enhance scalability, the app integrates an API Gateway and a Service Registry.

Instructions for Running the App

  1. Clone this repository to your local machine.
  2. Install the necessary dependencies and ensure you have Java SDK and Cash Free Java SDK set up.
  3. Start the Microservices in the following order:
    • Authentication Microservice
    • Expense Microservice
    • Payment Microservice
    • API Gateway
    • Service Registry
  4. Launch the app and navigate to the provided URL in your web browser.
  5. Register or log in using your credentials via JWT Authentication.
  6. Fill in the required form with your name, year, and monthly expense details.
  7. The system will calculate and display your monthly and annual expenses.
  8. To download the report, proceed with the payment using the Cash Free Java SDK.
  9. After payment, download your report in PDF format.

Contributors

Contact

For any inquiries or support, please contact us at:

sustainiamassignment's People

Contributors

avanishmani avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.