Submitted 4 days agoLVL 4A solution to the Entertainment web app challenge
entertainment-app-next-js-mongodb
mongodb, react-hook-form, zod, tailwind-css, next
P
@Star-Mdakane

Solution retrospective
What are you most proud of, and what would you do differently next time?
This was my first full stack app.
What challenges did you encounter, and how did you overcome them?- When fetching the data I had to move it from root component to public, I do not know whether that was the problem or if it was me not including the domain.
- It is also helpful to remember that the component also has to be async as well.
- Fetching server data, I had forgoten that you have to include the domain aswell.
- I had to change the path from the json file.
- I initially stored the media per user but when I ran into a bug, AI made me aware that I could just store IDs instead of the whole media which created a whole new problem since I am using the json data instead of the provided api site.
- I spent many days on the bookmark, me(the api which validated if user) APIs where I was suggested a minor tweak by META which seperated the home page context from the rest of the app context which had me looking for a bug and had to almost restart the app but I had a bit o work saved.
- I consulted chatgpt where it led me to the bug after 3 days of looking for the simple bug.
There is a lot I still have to look at especially on the backend.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Star’s solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord