Giter VIP home page Giter VIP logo

si-convert's Introduction

si-convert

For all your SI conversion needs, look no further! This App is also hosted on: https://si-convert.herokuapp.com/

All js files are minified and managed via Webpack. Travis and Heroku are used for the CI/CD pipeline.

Set up steps

clone the repo run:

  • npm install
  • npm start

Unit types are dynamically constructed from conversion-data.json, new types can be added without a need to add code allowing non developers to maintain the application.

Next Steps: While determining the scope of this project I left a couple of TODOs that I felt took away from the purpose of this project. In the future I plan on adding these, but want to make a note of them here.

Error Handling

  • Http error codes I am sending need more work to be sure. Proper analyisis of invalid input and throwing of 400s needs to be added.

Security

  • I have added mathjs to evaluate mathematical expressions which adds security to this process. The majority of expressions are pulled from internal code, minimizing any risk of injection. That being said, I would have liked to add models for operators the same way I have done for Unit, reducing the % of outside code being evaluated to 0.

si-convert's People

Contributors

acooper4960 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.