[JAVA] I tried to develop a website to record expenses.

This time I made a household account book application. I will describe the background and what I learned.

What I made this time is like this. スクリーンショット 2020-02-29 16.43.35.png

Languages and tools

・ HTML, CSS ・ Java ・ JavaScript ・ MySQL ・ Heroku

Background

I decided to keep a household account book at the beginning of this year when I thought, "I have to save money soon." However, I didn't get into the habit of putting it on, so I thought, "If I make it myself, I'll get into the habit of putting it on." It was developed with the intention of being simple and easy to use by anyone. I used chart.js because I wanted to create a beautiful pie chart.

What you can do

・ Login Logout ・ Register the amount used, content, and classification ・ Display the total amount and its breakdown by month ・ Specify your e-mail address and send the expenses for the month

What i learned

① chart.js is amazing!

It was very convenient when I wanted to create a very beautiful graph. At first, after studying Java, I thought about implementing graphs in Java, but I didn't have a good one, so I used this one this time. Not very good means that new windows are coming out, they don't look very cool, and so on.

Reference site: I tried drawing a graph with Chart.js

(2) The mail sending function is surprisingly easy to implement!

This time, we have implemented a function to send the expenses for the month to the entered e-mail address. I referred to the following site, but it was very easy to implement.

Reference site: Send email by Java mail (Java)

GitHub I posted this code on My GitHub, so If anyone is interested, please have a look!

that's all.

Recommended Posts

I tried to develop a website to record expenses.
I tried to develop a ramen shop sharing website.
I tried to develop a man-hour management tool
I want to develop a web application!
I tried to develop an application in 2 languages
I tried to implement a server using Netty
I tried to break a block with java (1)
I tried to decorate the simple calendar a little
I tried to create a Clova skill in Java
I tried to make a login function in Java
I tried to verify yum-cron
I tried to modernize a Java EE application with OpenShift.
I tried using Hotwire to make Rails 6.1 scaffold a SPA
I tried to convert a string to a LocalDate type in Java
I tried to implement a buggy web application in Kotlin
I tried to make a client of RESAS-API in Java
I tried to create a padrino development environment with Docker
I tried to chew C # (indexer)
I tried a little digdag docker.run_options
I tried to summarize iOS 14 support
I tried to interact with Java
I tried to explain the method
I tried to summarize Java learning (1)
I tried to understand nil guard
I tried to summarize Java 8 now
I tried to chew C # (polymorphism: polymorphism)
I tried to explain Active Hash
I tried to create a simple map app in Android Studio
I tried to illuminate the Christmas tree in a life game
I tried to write code like a type declaration in Ruby
I tried to create a Spring MVC development environment on Mac
[Unity] I tried to make a native plug-in UniNWPathMonitor using NWPathMonitor
I tried to build a simple application using Dockder + Rails Scaffold
[Java] I tried to make a maze by the digging method ♪
I tried to generate a C language program source from cURL
I tried to build a laravel operating environment while remembering Docker
I tried to make a group function (bulletin board) with Rails
I tried to make a parent class of a value object in Ruby
I tried to make a simple face recognition Android application using OpenCV
I tried a calendar problem in Ruby
I tried to summarize the methods used
I want to write a nice build.gradle
I tried migrating Processing to VS Code
I tried to summarize Java lambda expressions
[Rails] I tried to implement a transaction that combines multiple DB processes
I tried to get started with WebAssembly
[iOS] I tried to make a processing application like Instagram with Swift
I want to write a unit test!
I tried to solve AOJ's Binary Search
I tried to make a Web API that connects to DB with Quarkus
I tried to build a Firebase application development environment with Docker in 2020
I made a virtual currency arbitrage bot and tried to make money
I tried to implement the Iterator pattern
I tried playing with BottomNavigationView a little ①
I tried to summarize the Stream API
I tried to make a talk application in Java using AI "A3RT"
I tried to build AdoptOpenjdk 11 on CentOS 7
What is Docker? I tried to summarize
I tried to build Ruby 3.0.0 from source
I tried to use Selenium like JQuery
I tried to touch JavaScript Part.2 Object-oriented