Recently i'm learning django and developing some simple applications, when uploading on github i got confused that what is the difference between backend and api according to me backed is used by frontend to render the data from database, to perform some calculations on the data, to interact with the database, to call relevant views/templates, to check authentication and some other stuff and front end is used to show that t=data to the user e.t.c. now my question is where the api comes into picture? Is it necessary to write a RESTFUL service for our web?
Aucun commentaire:
Enregistrer un commentaire