https://github.com/yourakshaw/lucky-draw-gaming-service
A service which allows users to get Lucky Draw Raffle tickets and use one lucky draw raffle ticket to participate in a lucky draw game.
https://github.com/yourakshaw/lucky-draw-gaming-service
Last synced: 4 months ago
JSON representation
A service which allows users to get Lucky Draw Raffle tickets and use one lucky draw raffle ticket to participate in a lucky draw game.
- Host: GitHub
- URL: https://github.com/yourakshaw/lucky-draw-gaming-service
- Owner: YourAKShaw
- Created: 2021-02-09T04:29:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-09T13:09:41.000Z (over 4 years ago)
- Last Synced: 2024-12-31T03:12:34.948Z (6 months ago)
- Language: Java
- Size: 161 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### Dependencies
- [Java SE Development Kit 11.0.10](https://www.oracle.com/in/java/technologies/javase-jdk11-downloads.html)
- [MongoDB](https://docs.mongodb.com/manual/installation/)
### GET API
**WINNERS_API**
##### USAGE:
- `127.0.0.1:8081/luckydraw/winners`
- `127.0.0.1:8081/luckydraw/winners?rangeInDays=\`
### POST API
**RAFFLE_TICKET_API**
##### USAGE:
- `127.0.0.1:8081/luckydraw/newRaffleTicket`
- sampleRequestBody(JSON):
```json
{
"mobileNum": 919831284491,
"name": "Ayush Kumar Shaw"
}
```