Hi,

In my opinion if you are starting from scratch to develop your ecommerce
application, I would encourage you to start with DRF, but if in case if you
can not afford to write DRF APIs for an existing application, you might
want to refer this:

https://www.oneclickitsolution.com/blog/integrate-postgres-database-connection-in-flutter/

Disclaimer: I can not give any guarantee on this article because we did not
try this. In fact I would like to hear comments from other experts here
about this article?

Best regards,
~Ram



On Sun, Jul 31, 2022 at 8:30 AM Lakshyaraj Dash <
dashlakshyaraj2...@gmail.com> wrote:

> You need drf aka DjangoRestFramework because it provides a smooth api for
> your application. It comes into use whenever you're trying to have a
> javascript framework like ReactJS or NextJS or Angular or VueJS etc... On
> the client side. If you inject js framework in the frontend you also need a
> package called django-cors-headers.
>
> You can also use drf with django if you don't have any js frameworks in
> the client side. In this case you don't need a cors headers package.
>
> Thanks and Regards
> Lakshyaraj Dash
>
> On Sun, Jul 31, 2022, 19:53 Joseph Bashorun <josephbashor...@gmail.com>
> wrote:
>
>>
>> I am stuck in a loop of confusion. I am trying to build an ecommerce
>> website and make it production ready. Do i need to build an API for it?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/e45680e6-7c40-4ff4-985b-6cdc31a59e29n%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/e45680e6-7c40-4ff4-985b-6cdc31a59e29n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAF7qQgCcfSxsJjbpgPUbW%2Bs1kUDB9VF2ES9QfzUrKrt%3DiYUhLg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAF7qQgCcfSxsJjbpgPUbW%2Bs1kUDB9VF2ES9QfzUrKrt%3DiYUhLg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BOi5F11sjbkoXN6PpQvHOknTCSbmyvG6Yis9aKJESzhOyuQNA%40mail.gmail.com.

Reply via email to