Core: learn it Step 9 of 16 on the Full-Stack Developer roadmap
Building a REST API
To serve a separate frontend or a mobile app, your backend needs to send JSON instead of HTML pages. Django REST Framework turns your models into a clean API with little code. Design your endpoints around what the frontend really needs.