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 ✅