Skip to content

romietis/lunar-plan-advisor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lunar Plan Advisor

Test Go Report Card codecov Go Reference GitHub Release

Currently only for Lunar Denmark

This is a simple web application that helps you to choose the best Lunar plan based on your savings. It is built with Gin and basic HTML/CSS/JavaScript.

How to run

Web-Server

go run cmd/web/main.go

or run with Docker

docker build -t lunar-plan-advisor .
docker run -p 8080:8080 lunar-plan-advisor

Your application will be available at localhost:8080 and 0.0.0.0:8080

API

Now exposing API endpoint with query parameter balance

curl https://lunar-plan-advisor.calmground-6bcda4d8.northeurope.azurecontainerapps.io/plans?balance=100000

Background

With Lunar you receive positive interest rate on active balance of your accounts.

Lunar has an interest rate calculator to help you see what you can earn with different amounts and plans. But it doesn't tell you which plan is most profitable based on your savings.

Lunar Plan Advisor helps you determine a plan based on the net profit - interest income after plan fees. It helps identify the point at which one plan becomes more profitable than another by comparing the net profits of different plans.

Privacy

Your data is not stored or sent to anyone.