your title is misleading, because your app is ok. Just you want to detach it from your putty.
first of all you can try screen. it will automatically detach from putty if you close and you can reattach later.
But if you want to use nohup you may need to take care about stdout/stderr - and do not forget about & at the end:
https://ss64.com/bash/nohup.html