Lottery application for Jug Montpellier in Swift using Vapor framework.
To generate a Xcode project :
- Install Xcode
- Install Vapor
- Execute
vapor xcode
- Open the generated project
docker run --rm -ti -v $(pwd):/vapor asensei/vapor:latest vapor build
docker run --rm -ti -p 8080:8080 -e ORGA_ID='XXXXX' -e TOKEN='XXXXXXX' -v $(pwd):/vapor asensei/vapor:latest vapor run
Go to http://localhost:8080/winners?nb=X
where X
is the number of winners you want 😊