Coder Social home page Coder Social logo

time-zones's Introduction

Time-Zones

##Description This is the source code for a webapp built upon dropwizard framework. You can read more about dropwizard at http://www.dropwizard.io/1.0.0/docs/ . ##Usage To use the webapp you first need to download the yml file. It is the file which helps configure how the webapp works and how it displays output. More info on that later.

Steps to run the webapp on your machine

  1. Download the yml file from the base directory of this project. Its named time.yml .
  2. Pull the docker image to run the webapp using the commmand sudo docker pull charan1994/timezone-1
  3. Run the docker file using the command sudo docker run -v [path to the downloaded yml file]:/opt/myapp/yml -p 8080:8080 -p 8081:8081 charan1994/timezone-1

You can now access the webapp thorugh your browser with the link http://localhost:8080/time . You can send the timezone as a parameter to get timezones of different places using http://localhost:8080/time?time=[enter any valid timezone here]. All the valid timezones can be found in this link http://joda-time.sourceforge.net/timezones.html

time-zones's People

Contributors

charan1994 avatar charansahaj 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.