JavaScript and Django
Posted on Feb 6th, 2022
🎯 This week’s topics
- Using asynchronous JavaScript (fetch) in Django
- external api’s
- your own internal api’s
- form submissions without page reload
đź”– Assignment for this week
Continue with Django Flash Cards focusing on these aspects of the project:
- “Flipping” a card
- Adding and deleting cards using
fetch - Recording whether you got the question right or wrong
References
📹 Videos
From Class
- Adding JS to your app Access Passcode: 2UA*4d?7
- Django Walkthrough Passcode: 4%S!pSC+
- Fetch and API’s Passcode: 4%S!pSC+
- API Call and Response with Fetch Access Passcode: .W!0RM5q
Others
🕸 Websites
- Illustrated JavaScript Asynchronous Behavior
- Illustrated Introduction to API’s
- Request/Response cycle
- https://www.technoarchsoftwares.com/blog/django-request-response-cycle/
- https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_is_a_web_server
- https://blog.postman.com/intro-to-apis-what-is-an-api/
- Building your own API with DRF
- Build a Game with JavaScript