I’d probably start with looking at Firebase Functions unless you’re really excited about running your own servers.