This app converts Celcius, Fahrenheit or Rankine to Kelvins. There are two apps. One implements a client-server build and a second uses only client-side processing.
Source Code:
- app.js
- views/base.pug
- views/convert.pug
- views/index.pug
- static/script.js
- static/style.css
Front End
The front end utilizes pug templates. You'll notice the syntax of pug is similar to that of HTML.
Use this app by navigating to localhost:3000/
Back End
The back end is running on an express server with node.js.
Source Code:
- static/client-index.html
- static/client-script.js
- static/style.css
Use this app by navigating to localhost:3000/client-index.html
- Make sure you have a terminal or terminal emulator to run the following commands.
- Windows: Git Bash
- Download and install the latest version of node.js
- Verify the install and run
node --version
- Download the repo either by the .zip or by running
git clone https://github.com/stpCollabr8nLstn/temp_converter.git
- cd to the directory
cd AssignmentW1
- Install the node modules
npm install
- Run the program
npm start
- Open a browser and navigate to localhost:3000