How should I integrate Django-REST-API framework in an existing application or I have to create a new project?
Django Rest Framework makes it easy to use your Django Server as an REST API. REST stands for "representational state transfer" and API stands for application programming interface. Note that with DRF you easily have list and create views as well as authentication.
You do not need to begin a new project. The basic steps are:
pip install djangorestframework
rest_framework
to your INSTALLED_APPS
And that's it.
I suggest you follow the Quickstart and step through the Tutorial — it's pretty welcoming really.
I hope that helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With