I wanted to do a quick write up of the last project I did for class, it was a scoreboard app written in Python and used Flask. For extra credit we could host it on Python Anywhere. The app also uses SQLlite for the database. All of the development work was done using PyCharm.
One of my Media and Information classes has a lot of programming based projects. We used two main different languages and IDEs to get them done, the final for the class and the early projects was done using C# and Unity, while the end of the class utilized Python and PyCharm from JetBrains.
All of the backend of the project was written in a single python file, it had database queries for getting, updating, and deleting scores. There are different sort options for the score board, each field is sortable. The project was pretty easy as far as homework goes, the instructor gave us a list of things to do and had a guided example. The only work I had to do by myself was some extra credit improvements. I added a image for the delete button and made a custom CSS file to work with Flask and make the front end look better.
PyCharm makes debugging easy, everything can be run on your localhost, which means you don’t need to update a server each time you need to test code. By specifying the port number, you can run the website on your own computer without hassle.
Hosting on Python Anywhere was really easy. I created an account and verified it through email. Then I uploaded my files from PyCharm and ran the database init commands through the sites python terminal. After that all I had to do was go to greenjam94.pythonanywhere.com and you could see the scoreboard.
Feel free to play around with the board, all I ask is that you don’t delete all the records.