Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lotto Project

Lotto is a sample project which basically used to consume an API end point to show the results.

  • This is a code challenge to build a simple application or web page to display a Lottery Draw and jackpot information. The endpoint is: https://data.api.thelott.com/sales/vmax/web/data/lotto/opendraws

  • The products display should at least have OZlotto, Gold Lotto and Powerball.

  • The information display in the web page requires to at least have Lottery product display name, logo image, draw date, draw number and jackpack value (Div1Amount).

  • Contains two units test ensuring the API call is valid.

New Features!

  • Helix structure -Tried to pull onion architecute with DDD pattern (Note- Still a few part is pending)

Tech

Dillinger uses a number of open source projects to work properly:

  • [MVC Framework] - Dot Net MVC
  • [Unity] - Unity framework for the DI

on GitHub.

Installation for main application

1.open the solution in visual studio. 

2.set the Lotto.Web as the startup project. 

3.run the Application on IIS

Verify unit test cases

1.open the solution in visual studio. 

2.set the Lotto.Test as the startup project. 

3.run the Application on IIS

For production environments...

Change the Base url in app settings

    <add key="LottoBaseAddress" value="https://data.api.thelott.com" />
    <add key="LottoCompanyId" value="GoldenCasket"/>

License

I have added under Apache License 2.0

About

Lotto project initial setup

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages