Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevinjanbarluado/codingchallenge
https://github.com/kevinjanbarluado/codingchallenge
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kevinjanbarluado/codingchallenge
- Owner: kevinjanbarluado
- Created: 2021-08-05T07:45:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-05T12:23:08.000Z (over 3 years ago)
- Last Synced: 2024-10-31T06:52:09.019Z (3 months ago)
- Language: PHP
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kevin Jan Barluado Coding Challenge
First you must create and configure .env file by duplicating .env.example
Then, you must import the codingchallenge.sql in your mysql which is located inside this folder.You can set the Winning Moment by posting to the rest API w/ the key of 'value' and your assigned value in a format of timestamp
at this url /entrant/winning-momentYou can set the chance by posting to the rest API w/ the key of 'value' and your assigned value in a format of integer
at this url /entrant/chanceDatabase Strcuture:\
entrant_table\
*id\
*name\
*email\
*mechanics\
*timestamp\
*win (boolean)\mechanics_table\
*id\
*type -> (winning_moment and chance)\
*value