Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
1848 Tampilan

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?

Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Agu 24
1566
1
Agu 24
1892
1
Mei 25
1832
2
Apr 24
1339
0
Des 23
1460