Node.js

Create the UI

The application will use the pug template engine to render the pages as HTML.

In a folder called views in your application directory, create the following templates:

layout.pug

index.pug

authenticate.pug

entercode.pug

Finally, create a file called style.css in a public/css directory, which contains the following style sheet: