Building the backend
Before we start building the backend of our live score site, let's first set up our directory and files.
We will only write code for the backend and frontend architecture and functionality, not any HTML and CSS design code.
The exercise files of this chapter contain two directories: Initial
and Final
. In both the directories, you will find a directory named Live-Score
. In the Final/Live-Score
directory, you will get the complete live score website source code. In the Initial/Live-Score
directory, you will only find HTML and CSS files for our live score site. The Initial/Live-Score
directory is to help you quickly get started with building the live score site.
In the Initial/LiveScore
directory, you will find the public
directory, app.js
file, and package.json
file. Inside the public
directory, you will find css
, html
, and js
directories. In the css
and html
directories, you will find HTML files and CSS files for our user and administrator pages. In the js
directory, you...