REST API with Django rest framework with React as front-end and postgresql as backend - 2
Hello and welcome back!! In part 1, I created the database table, the model in django, serialized it, described a viewset and set up my routers. Lastly, I used postman to check if the API works fine. This is part 2 of my attempt to show the college exam schedules from my postgreSQL database onto my react front-end via Django REST API framework. I will now proceed to share Step 2 of the process where I create the React App and integrate it with the framework. Step 2 - The React App I have not used the standard create react app because I will be integrating react in the django app. Instead, I will be using django to create another app within the same project, and will be using the django template features which will act as our front-end. Traversy's video helped me understand how to do this. 1. In the terminal of my backendproject folder, I create the app called frontend. prompt> manage.py startapp frontend This will create a frontend...