Skip to content

BakhtiyorRuziev/CurrencyRate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CurrencyRate

WebService for Tajikistan somoni exchange rate.

To run the program you need to pass some steps

  • Exchange rate can get with this application NbtDownloadRate

  • Configure mongoDb: Change this string in src/main/resources/context.xml:

        
        <mongo:mongo host="127.0.0.1" port="27017"/>
        <mongo:db-factory dbname="rates2"/>
    
  • gradlew install

  • gradlew run

Application run in localhost:8080 address. Date format: YYYMMDD

    {
      "date": 20121211,
      "currencies":[{"code": "036", "charCode": "AUD", "rate": 5.0345,}...]
    }
  <rate>
    <currency>
        <charCode>AUD</charCode>
        <code>036</code>
        <rate>5.0345</rate>
    </currency>
  ...
  </rate>

About

WebService for currency rate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages