Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
1625 Представления

I'm having some trouble finding documentation on whether it's possible to use Odoo as a backend for an e-commerce site, with React or Angular as the frontend, using the Odoo API to fetch the product catalog?

Аватар
Отменить
Лучший ответ

Yes, you can use Odoo as a backend service in your e-commerce projects with React or Angular. For reference, here’s an e-commerce project that integrates Odoo using Vue:

https://github.com/vuestorefront-community/odoo

Аватар
Отменить
Лучший ответ

Every line of the Odoo source code is available so technically anything is possible.

We provide a JSON-RPC API that you can use to fetch product data, manage customer information, and handle orders.

The Odoo Javascript framework builds on React and View and provides a feature rich front end, so you would be rebuilding things that are already provided.

Odoo can be configured to log API calls - see https://www.odoo.com/forum/help-1/how-can-i-see-which-api-calls-are-made-to-learn-what-odoo-is-doing-at-specific-times-183911 and this might be the fastest way to learn how do interact with the back end.

Developer documentation starting point is https://www.odoo.com/documentation/master/developer.html

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
авг. 24
1341
1
авг. 24
1662
1
мая 25
1581
2
апр. 24
1160
0
дек. 23
1345