Git Product home page Git Product logo

odd-positive-integer-average-ui's Introduction

Odd Positive Integer Average UI

This is a two part project which extends upon the server you created for finding the average of odd positive numbers.

CLI Utility

The first part of this project will involve writing a basic command line utility which can be used to communicate with the server that you have set up.

It is expected that this program should be runnable by executing the bash command

> avg <host> [<integer array>]

This should then send a http(s) request to your odd positive average server. It is expected that this tool will be able to handle both 200 and 400 status code responses.

Example Interactions

> avg http://localhost:8080 [12, -27, 40, 0, 3, 0, 9, 81]
Average of all odd positive integers: 31
> avg http://localhost:8080 [-1, -2, -3]
No odd positive integers were supplied.

React / Typescript App

The second part of this project will be using introducing you to React and expanding upon your knowledge of Typescript. It will involve making a GUI to communicate with the odd positive average server.

The application should:

  • Send http(s) requests to the server, as was done in the CLI.
  • Store all previous requests and related responses from the current session. Allowing users to see what they have sent previously.

Remember that React is used to create reuseable components. Think about how to break down a larger component into smaller pieces.


Note

  • Lots of the application logic can be shared between these two applications.
  • Try and understand the Webpack bundling process used in the React/Typescript application.

odd-positive-integer-average-ui's People

Watchers

 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.