Your question is extremely broad. Instead of trying to find code maybe write the code ¯_(ツ)_/¯
Ionic 2 has really good documentation and there are plenty of sites showing how to get up and running with an app.
Otherwise if you are spared for time you could post on the jobs section (https://forum.ionicframework.com/c/jobs) and get a developer to write it up for you. ( ping me if you are interested )
With regards to your last question. I cant say much for AWS but i have found that firebase (firebase.google.com) plays well with ionic and ionic currently has a cloud based solution (https://ionic.io/cloud) in beta which looks really promising.