I’ve been trying to complete the FCC program, and I’m so close. I just passed the URL shortener microservice challenge - but I’m having some issues with inconsistent performance.
Basically - it only works sometimes. I can’t really seem to tell why. It seems like maybe it hasn’t fully written the shortened URL to the database or something, because if i wait a few minutes to go to the shortened url it will correctly redirect the browser.
This apparently will pass FCC tests, but I am not really satisfied with the quality of this work.
Any feedback would be much appreciated.
code available at https://glitch.com/edit/#!/fcc-url-shortener-microservice-paalwilliams