GithubHelp home page GithubHelp logo

prime_solo_express's Introduction

prime_solo_express

Create a basic node application using npm init. Add an app.js file. This is your entry point. Install express using npm install express --save.

Set up a basic route to serve an index.html file on the route /. Also set up basic file serving using express.static using a folder called "static". Put a client side JavaScript file named scripts.js in your static folder and a style sheet named styles.css. Add a script tag referencing your script your index.html file. Also add a link to your style sheet.

Next, make a folder called "modules". Copy your three module files from the prime_peer_nd_00 assignment into this folder and require them in your app.js file.

Set up a new route on "/balance" that will use the required files to send a random account balance to the client. Use $.ajax to display this on the page.

Add a button that will get a make a new Ajax call to the server, and display the new random balance on the page.

HARD MODE

Style things pretty using your css file.

PRO MODE

Also animate the data on the page using jquery animate libraries!

prime_solo_express's People

Contributors

azuldev1 avatar

Watchers

 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.