Backend: Python Django -> Grabs list of News ID & News content from HackerNews API -> Loads the data into MongoDB -> Django REST API then exposes endpoints
Frontend: React JS -> Performs GET request using Axios on exposed endpoint -> Sets the state and maps result into a table
Notable Functions:
-> Backend - loadData(): Run Time complexity of O(N) (need to improve!) for fetching data from APIs and loading them into DB. Enters only new data into table, skips exisiting data
-> Front end - RefereshList() function is called each time an API request is completed. It updates the NEWS list to display the most recent list of added items.
Unit Tests: -> Backend - Test suit for models and views -> Frontend - Test sit for axios get request
Issues: -> Need to fix pagination -> Need to take care of mongodb authentication in Unit Tests -> Forgot to unmount my component...oops!