Backend (Server-side)
- Created a Popular movies controller that sends a get request to TMDB to return the popular movies
- Created a Search movies controller that sends a get request to TMDB to return the searched movies
- Enabled CORS to allow resource sharing and allowing the frontend to get data from the backend
- Added SwaggerUI for the documenting of the api
- Used HttpclientFactory to create a new client and send requests to the api
- Implemented Dependancy Injection in the popular and Search movies controller
Frontend (Client-side)
- Managed to load movies through the serverside endpoint (https://localhost:44325/api/popular)
- Added the Search Endpoint to allow the client side to search movies via the search term passed to the Serverside endpoint (https://localhost:44325/api/search)
- Added React-Router
- Used CSS for Styling
Due to time I could not fully grasp on using typescript in the code cause I am not familiar with it yet. I had to use ReactJS because I have a bit of familiarity with it. NOTE The Zipped file contains the original clientside skeleton made in typescript. Had to zip it to avoid any conflicts in the code
Thank you Desire. L