Giter Site home page Giter Site logo

aet's Introduction

Asset and Expense Tracker(AET)

This project's main focus is on learning and using spring boot as the backend.

You can add and track your assets and check the total amount, total cost and calculate gain/loss.

API Documentation

You can check swagger UI for APIs here:

http://localhost:8080/aet/v1/swagger-ui/index.html

Usage

Requirements:

  • Java OpenJDK v21
  • MongoDB v5
  • Docker
  • Maven

Docker Compose

If you are using Intellij, run the project using maven profiles and check compose profile.

Or before starting the project, load the services by docker compose:

docker compose up -d

If wanted to stop the services:

docker compose down

Build

Build the project using maven:

mvn clean package

Run

Make sure before running the project, use the correct credentials for MongoDB in the proper profile (if running locally, update application-local.properties)

Activate the local profile of spring boot and run the jar file:

java -jar -Dspring.profiles.active=local ./target/aet-0.0.1-SNAPSHOT.jar

Observability

You can check the visualized data about metrics and logs in grafana dashboard in:

http://localhost:3000

Note: Default username is admin and default password is admin

Features

  • Spring Security and JWT authentication
  • Observability using Grafana, Prometheus, and Loki
  • Spring Boot Docker Compose plugin
  • Exception Handling by RFC 7807 specification
  • Lombok

aet's People

Watchers

Amirhosein Gharaati 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.