# Django API ✌🏻

**URL:** <https://forum.djangoproject.com/t/django-api/24250>\
**Category:** Getting Started\
**Created:** [October 1, 2023, 5:27pm UTC](https://forum.djangoproject.com/t/django-api/24250 "2023-10-01T17:27:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![huzaifa-salih](https://avatars.discourse-cdn.com/v4/letter/h/90ced4/32.png) [@huzaifa-salih](https://forum.djangoproject.com/u/huzaifa-salih)\
**Post date:** [October 1, 2023, 5:27pm UTC](https://forum.djangoproject.com/t/django-api/24250/1 "2023-10-01T17:27:32Z")

</div>

Hey developers hope you all doing well I’m still in my journey of learning so I see everywhere build api with the Django REST-framework and JWT

my question is can we build api’s for a Mobile with native Django code without using third-party framework and what about the authentication

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [October 1, 2023, 5:36pm UTC](https://forum.djangoproject.com/t/django-api/24250/2 "2023-10-01T17:36:00Z")

</div>

> [@huzaifa-salih](#):
>
> my question is can we build api’s for a Mobile with native Django code without using third-party framework and what about the authentication

To answer your question, you can. For anything substantial you’re going to end up writing the same code that DRF provides, but that’s a decision for you to make.

Side note: I fail to see the value in trying to avoid third-party packages. Many parts of Django that you are going to want to use are also third-party packages. Everything you install from `pypi.org` is a third-party package. There’s even a perspective that Django itself can be considered a third-party package relative to using Python as your development language.

---

<div class="post-metadata">

**Author:** ![huzaifa-salih](https://avatars.discourse-cdn.com/v4/letter/h/90ced4/32.png) [@huzaifa-salih](https://forum.djangoproject.com/u/huzaifa-salih)\
**Post date:** [October 1, 2023, 6:28pm UTC](https://forum.djangoproject.com/t/django-api/24250/3 "2023-10-01T18:28:38Z")

</div>

Hi ken thank you for your answer yeah rest framework made it easy and its amazing  
im not trying to avoid but I just want to ask because I’v seen no one talk about how to build pure django api and I got the answer here thanks again ✌
