I'm working on a project for a tutoring institute where we have an existing Odoo application managing our data. We now need to create a web application using React that provides two interfaces: one for instructors and one for students. Each interface should display a list of appointments, and users should be able to schedule new appointments.
Here's where I need guidance:
Backend Choices:
We are considering two backend options: Using the Odoo REST API. Using Node.js with Express.js to create a custom backend. Odoo REST API:
We are aware of the Odoo REST API's capabilities, but we are concerned about the customization complexity. None of our team members have prior experience with Odoo. Node.js with Express.js:
Is it possible to create an Express.js backend that connects with our Odoo application? and how will services like authentication be implemented? We want to ensure that when instructors teach new lessons, the Odoo database is updated to reflect changes in their salary. Could someone provide insights, guidance, or a code example on how to achieve this integration with an Express.js application? Any advice or experiences you can share would be greatly appreciated.
Thank you!
I haven't tried anything yet I/m still trying to figure out which approach is more effictive.
i would suggest you to read the documentation about odoo external api here :
https://www.odoo.com/documentation/16.0/developer/reference/external_api.html
you can implement this with your express server and as for the authentication you can store a jwt token and handle it with your express server as well
i hope it is helpful and if you have any questions i am here to help