Wednesday, March 28, 2018

Quote of the Day


I wanted to work on a side project over the weekend. That would involve creating a website that generates table topics.

This is a small project in Flask framework. What I essentially did was to hit a Quote Generator API. The request library in Python helps do that and even do the germane JSON transformation and response building.

Just wanted to get the ball rolling. Although from cosmetic perspective could throw in some CSS as well but what the heck!

This has me all set in the right direction. Some key things to get right next time:


  • Download bootstrap instead of CDN
  • Create a separate css folder in static
  • Add virtualenv and relevant file formats to .gitignore

No comments:

Post a Comment