GithubHelp home page GithubHelp logo

polakm / hyperbudget Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 2.22 MB

Project is a home budget management system. It's also my sandbox for learning and testing technologies, patterns and ideas.

License: Apache License 2.0

Java 87.39% HTML 0.68% CSS 0.43% JavaScript 8.63% Batchfile 0.36% Dockerfile 1.10% Shell 1.41%
microservices spring-boot netflix-eureka netflix-zuul service-discovery api-gateway rest ports-and-adapters swagger zipkin hateoas

hyperbudget's Introduction

Hyper Budget

Project is a home budget management system. It's also my sandbox for learning and testing technologies, patterns and ideas.

Modules

  • ui
  • api-gateway
  • transaction-service
  • transaction-summary-service
  • account-service
  • category-service
  • service-discovery
  • tracing-service

Technologies

  • Spring Framework
  • Spring Boot
  • Spring HATEOAS
  • Spring Cloud
  • Netflix Zuul
  • Netflix Eureka
  • Zipkin
  • Swagger
  • React
  • JUnit
  • Gradle

Running environment

  • JRE 8
  • node.js
  • Docker
  • Linux

* Only if you want to run on docker and build docker image. It could be different machine or virtual machine.

Develop environment

  • Git
  • JDK 8
  • InteliJ IDEA
  • Docker Integration Plugin

Prepare project

Download project form git

git clone https://github.com/polakm/HyperBudget.git

Open root project directory in InteliJ IDEA

Build

All services besides ui is compiling by gradle. You cen run gradlew.bat files or tools in your IDE to build java modules For ui you can use node.js command npm install

Tests

All tests is writing in JUnit. Search a class with suffix Test. In dictionary {MODULE}/src/test/java are test for that module

Deployment & Run

If services have built you can use start_all.bat or {MODULE_NAME}/start.bat to run all or one module on localhost

Obviously you can start services on docker. Use the Docker.file to build docker images. I recommend Docker Integration plugin Remember to create common network for all services and publish ports for ui and api-gateway;

Examples:

docker build --build-arg JAR_FILE=libs/api-gateway-0.0.1-SNAPSHOT.jar -t api-gateway . && docker run --name api-gateway api-gateway

Author

Michał Polak

See my other projects on my GitHub

If you can read polish, you can also visit my website http://michalpolak.com.pl

License

This project is licensed under the Apache 2.0 License - see the LICENSE.md file for details

hyperbudget's People

Contributors

dependabot[bot] avatar polakm avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  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.