You can use a serverless option like Firebase for both of the app and webapp. Most of the code will be reused and it's good option if you don't need to do much of the processing on the server.
8.79k views8.79k
Comments
Firebase is a cloud service designed to power real-time, collaborative applications. Simply add the Firebase library to your application to gain access to a shared data structure; any changes you make to that data are automatically synchronized with the Firebase cloud and with other clients within milliseconds.
Technical articles and stack decisions from Google-cloud-firestore