GithubHelp home page GithubHelp logo

stpcollabr8nlstn / temp_converter Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 13 KB

This app is a basic demonstration showing how to implement a node.js server and html/js front end to run a temperature converter.

Home Page: http://cs.txstate.edu/~amr225/convert-it/

JavaScript 45.80% HTML 33.52% CSS 20.68%

temp_converter's Introduction

Convert It!

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.


About the build

Client-Server

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.

Client-Side

Source Code:

- static/client-index.html
- static/client-script.js
- static/style.css

Use this app by navigating to localhost:3000/client-index.html


To run locally:

  1. Make sure you have a terminal or terminal emulator to run the following commands.
  2. Download and install the latest version of node.js
  3. Verify the install and run
    node --version
    
  4. Download the repo either by the .zip or by running
    git clone https://github.com/stpCollabr8nLstn/temp_converter.git
    
  5. cd to the directory
    cd AssignmentW1
    
  6. Install the node modules
    npm install
    
  7. Run the program
    npm start
    
  8. Open a browser and navigate to localhost:3000

temp_converter's People

Contributors

stpcollabr8nlstn avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.