Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Odoo with a decoupled front-end

by
Wytze Jan Riedstra
- 12/07/2023 13:24:48

Thanks for your response Tom! You're right :) I'd like to have the best of both worlds actually. I'd very much like to develop front-ends in Nuxt so I can use Tailwind CSS. Further more, I think I can make inline form wizards and stuff much faster component based; like Nuxt and Vue works. On the other hand, I very much like the integration of the portal so customers can see theirs projects, sales orders, etc.

Thank you for your suggestions. I would take a look.

tblauwendraat schreef op 2023-07-12 08:37:

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

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


Reference