Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Odoo with a decoupled front-end

by
Therp, Tom Blauwendraat
- 12/07/2023 08:34:30
If you still want to include regular portal pages, then it's not 100% decoupled, right? More of a hybrid. In that case, Nuxt has to be served on the same domain as Odoo and can call regular Odoo backend controller functions, that authenticate with the session cookie. If rest_framework also uses the session cookie as the backend, you can also use that.

If you go fully decoupled, you can go wild with all kinds of other designs. I think the sky is the limit, but to give two examples that we have encountered:

- muk_rest backend, odooinvue (quasar) frontend, authentication using muk_oauth2
- base_graphql backend, typescript frontend

What's your main goal with the decoupling?

12 jul. 2023 07:52:33 wytzejan <notifications@odoo-community.org>:

Hello,

I'm looking for a solution where I can use Odoo with a decoupled front-end and I'd love to hear your thoughts. I'd like to use Odoo as my back-end and Nuxt as my front-end. I've seen https://github.com/vuestorefront-community/odoo but this looks dedicated to e-commerce.

Is it possible to have a decoupled front-end but still use the Odoo login functionality and so the I can integrate the Odoo portal (e.g. domain.nl/my/home) inside Nuxt? I've seen https://github.com/OCA/rest-framework as well but I am not sure if this can work with the portal.

Any thoughts are very welcome. Thank you!

With kind regards,

Wytze Jan Riedstra
codeNext

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference