2018-02-19 16:08:39 +00:00
|
|
|
# Vereto API
|
|
|
|
|
Rails 5 API for Vereto Projects
|
2018-02-16 09:10:35 +00:00
|
|
|
|
2018-02-19 16:08:39 +00:00
|
|
|
Vereto NG is the first to integrate.
|
|
|
|
|
http://gogs.veretium.com/PromoStarr/vereto-ng
|
2018-02-20 10:58:12 +00:00
|
|
|
|
|
|
|
|
# Stack
|
|
|
|
|
This project uses:
|
2018-02-27 14:54:19 +00:00
|
|
|
- Rails 5.1 API
|
2018-02-20 10:58:12 +00:00
|
|
|
- MariaDB/MySQL Database
|
2018-02-27 14:54:19 +00:00
|
|
|
- Ruby 2.3+ recommended
|
2018-02-20 10:58:12 +00:00
|
|
|
|
2018-02-27 16:29:16 +00:00
|
|
|
# Deployment
|
|
|
|
|
|
|
|
|
|
Run
|
|
|
|
|
``` cap production deploy``` to start deployment process
|
|
|
|
|
|
2018-02-22 16:07:28 +00:00
|
|
|
# TO DO
|
|
|
|
|
- Email verification on sign up
|
|
|
|
|
- Comments to articles
|
2019-09-27 19:03:44 +02:00
|
|
|
|
|
|
|
|
# vouching
|
|
|
|
|
|
|
|
|
|
Player submits their name and person they want to vouch
|
|
|
|
|
|
|
|
|
|
Voucher is checked to be already in the whitelist
|
|
|
|
|
and
|
|
|
|
|
if the vouchee is in the mojang database
|
|
|
|
|
and
|
|
|
|
|
not already in the whitelist
|
|
|
|
|
and
|
|
|
|
|
not already vouched for
|
|
|
|
|
and
|
|
|
|
|
voucher has not already tried to vouch for this person
|
|
|
|
|
and
|
|
|
|
|
voucher is not vouching for himself
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| id | voucher | vouchee | accepted | |
|
|
|
|
|
|---|---|---|---|---|
|
|
|
|
|
| 0 | promostarr | promostarr | 1 | |
|
|
|
|
|
| 1 | promostarr | goblin | | |
|
|
|
|
|
| 2 | goblin | chaosg0d | | |
|