Skip to content

A project that first populates a JSON file with information from querying a web server using a UDP socket, and then runs a web server so that a web browser can query this data over a TCP connection. This is my first web project, for the UNSW course TELE3118, Term 3, 2020.

Notifications You must be signed in to change notification settings

monomest/First-Web-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

First-Web-App

Code for my first web project, for the UNSW course TELE3118, Term 3, 2020.

Part 1 [5 points]

Populating database: In this part we write a UDP client program that sends a message to a UDP server requesting the list of students and their marks. We store this information in a JSON file.

To run:

  • Download the directory part1
  • Enter the following into your terminal: python udp_client.py
  • Observe this returns the list of student marks in the form of a JSON file

Part 2 [5 points]

A webserver that queries the database, possible with any web browser.

To run:

  • Download the directory part 2
  • Install flask using pip
  • Enter the following into your terminal python app.py
  • Open the local host on the web browser
  • Interact with the website

Part 3 [3 points]

A pretty front-end.

To run:

  • Download the directory part 3
  • Install flask using pip
  • Enter the following into your terminal python app.py
  • Open the local host on the web browser
  • Interact with the website

Part 3 - Baby

A version of part 3 that is coded by Renee's little brother.

Tutorial

Contains sample code and notes from the course tutorial video.

About

A project that first populates a JSON file with information from querying a web server using a UDP socket, and then runs a web server so that a web browser can query this data over a TCP connection. This is my first web project, for the UNSW course TELE3118, Term 3, 2020.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published