on 03-17-2023 12:36 PM
Hi,
I am developing an app using UI5 and it is not connected to SAP systems or BTP etc.. The app has no connection to SAP whatsoever. I am using UI5 as I am most familiar with this frontend framework and can wrap the app quicker than other frameworks.
For backend, I would be using postgres and was thinking to create an OData service on top of it. I can use the normal REST API based calls in UI5 with JSON model but I wanted to use the functionalities provided with OData model. For this purpose, can I use CAP to create OData service and deploy it on a normal EC2 instance serving the APIs with express?
Could you please help me in this regard?
BR, Ekansh
in theory I think yes but not with hana as a database. With postgresql it should be possible. I didn’t do this myself yet…
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wouter,
If possible, can you please point me to some documentation regarding the deployment outside of BTP and without hana as db? All I could find in the CAP documentation was to deploy on BTP.
To use with postgresql, I am planning to use the .on method to implement the db interaction myself using prisma or supabase libraries. This is a little tricky scenario as not much is available on internet or atleast I couldn't find such.
BR, Ekansh
Hi Ekansh,
jun.wu5 makes a very valid point. It seems like you are still going to need to invest some time and effort to work out how to integrate Postgres with CAP on a non-BTP stack. That being the case, why not take this as an opportunity to step out of your comfort zone and explore upskilling beyond UI5 and CAP to other tech stacks?
Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I ain't afraid of learning the other stack. In fact, I'm all in for that but the short answer for the above question is very short client deadline. 🙂
Integrating with postgresql wouldn't be a challenge as I would use supabase sdk, Deployment is the challenge.
I am anyways evaluating my options and in one corner of my heart, I know that I won't be able to deploy cap outside of btp. It would have provided some relief, if I could've used some smart controls which aren't possible with json model.
Br, Ekansh
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.