Reddit Project

This project was a good way to synthesize most of the lessons learned so far in the full stack path. It took me some time to get through everything by myself. I started months ago, but had to pause my learning for most of the summer. So probably a few weeks altogether. Testing is a slightly difficult concept for me for some reason. I think I wrote more code in tests than I did in the rest of the project which is probably normal, but still feels strange. I also learned a lot about deployment in the last phase of the project. Overall it was a good time and I feel like I have a much better grounding in frontend development.


Deployed App

1 Like

It doesn’t seem to be working for me. If I click Reddit, Subreddit pops up. When I search, nothing comes up. Query string appears in URL. Looking at the console, I see CORS errors coming up.

‘Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at (Reason: CORS request did not succeed).’

I have recently encountered a similar error. I found it could be bypassed by making the request from a server instead of a browser. I’m not sure what other ways there are around it. Cheers!

1 Like

Thanks for looking at my site. I really appreciate you taking the time.

The subreddit menu is by design. I was kind of going for a paired down presentation, but I see how it could be a little confusing. It was an early decision that I did not really revisit after I got to coding.

Search is working for me and I am not getting a CORS error. I wonder what kinds of differences would cause it to fail for some and not others? Occasionally I would get some errors that seemed to be related to requests that would come up in the tests, but confusingly they never caused the tests themselves to fail so I was not able to diagnose them. I am just starting the backend portion of the full-stack path so I hope to learn more about sever side solutions to these kinds of problems. Thanks again.

1 Like