This branch contains all implemented features.
Feel free to:
- clone this repository ๐
- fork this repository ๐ฝ
- break things ๐
- implement new features ๐
- provide pull request to repository ๐
Once Java Programmer was expecting to have baby, actually 2 babies.
He wrote a program to choose names for his newborns.
Unexpectedly triplets were born and they got the names:
Adam, Frank and... ArrayIndexOutOfBoundsException
This is simple program (or rather group of programs) is solving similar problem. We are going to draw name for a newborn. Data source is based on real data https://dane.gov.pl/dataset/219,imiona-nadawane-dzieciom-w-polsce We also present full statistics of most popular names given during first half of 2019. And plot a graph for names based on historical data.
Code: child-core
This module contains no Spring dependencies. Just pure Java + library to read csv files.
What is best approach to test Spring projects?
Test them like there was no Spring at all. (:heart:)
Marcin Grzejszczak - Principal Software Engineer at Pivotal
Code: child-webapp
- Draw a random name โ
- Present all names split by gender โ
- Draw a random name, taking parents preferences to gender and popularity โ
- Allow to choose name from existing data - should increase occurrence counter โ
- Allow to choose new name - should add new name with counter=1 โ
- Show details of certain name using path variable โ
Module: child-api
- Serve all name stats โ
- Serve random name stats โ
- Serve certain name stats โ
- Serve history of given name โ
- Allow to insert existing name - should increase counter โ
- Allow to insert new name - should add new name with counter=1 โ
Module: child-client
- Consume all name stats โ
- Consume random name stats โ
- Consume certain name stats โ
- Consume history of given name and plot a graph โ
- Allow to insert existing name using API - should increase counter โ
- Allow to insert new name using API - should add new name with counter=1 โ