Commit Graph

21 Commits

Author SHA1 Message Date
Hammad Jutt
c27c77eb74 Setup handler to migrate SC ledger accounts to Database Players 2020-08-16 01:45:27 -06:00
Hammad Jutt
9b83f0c70d Update Hasura to 1.3.0 2020-08-04 21:09:51 -06:00
Hammad Jutt
bf8489f1b4 Remove unused remote relationship 2020-08-04 21:09:51 -06:00
Pacien Boisson
790a0cc78c using a remote schema instead of an action for getBoxProfile 2020-08-04 21:09:51 -06:00
Pacien Boisson
a60aa62a94 add ethereumAddress to getBoxProfile 2020-08-04 21:09:51 -06:00
Pacien Boisson
51a4eddbbd added getBoxProfile action 2020-08-04 21:09:51 -06:00
Pacien Boisson
7b3b6c2f82 Add ethereum_address to Player model in order to get the box profile 2020-08-04 20:29:08 -06:00
Pacien Boisson
6e0f0c9b66 using a remote schema instead of an action for getBoxProfile 2020-08-04 20:29:08 -06:00
Pacien Boisson
af728ac53d add ethereumAddress to getBoxProfile 2020-08-04 20:29:08 -06:00
Pacien Boisson
f79e8cd261 added getBoxProfile action 2020-08-04 20:29:08 -06:00
Pacien Boisson
08a4b90d95 Update models (#33)
* Remove unused models

* add new props into Player model

* Added props to Guild

* Setting guild type as a foreign-key reference

* Use foreign table for skills

* Seed data

* prettier
2020-07-27 10:08:48 +02:00
Hammad Jutt
18adfa46d2 Reformat all existing code 2020-07-13 11:11:04 -06:00
Hammad Jutt
c063c3c41a Setup explicit ports to prevent broken deployment on Render
https://github.com/hasura/graphql-engine/issues/3904
2020-07-12 11:41:52 -06:00
Hammad Jutt
063c8f91db Setup deployment config for Render 2020-07-12 11:41:52 -06:00
Hammad Jutt
675c0e0046 Update Hasura to 1.3 beta and setup actions codegen 2020-07-06 01:55:27 -06:00
Hammad Jutt
d76fb891f1 Allow overriding HASURA_GRAPHQL_ENABLE_CONSOLE 2020-07-06 01:55:27 -06:00
Pacien Boisson
d7713f983b Finish docker/lerna (#13)
* Fix console output with lerna for backend

* fix app start command

* Hasura waits that databse is up

* Update readme
2020-06-26 18:22:37 -06:00
Pacien Boisson
214f3f65c2 3box profiles (#9)
* Fix auth

* Added 3box profile info

* Added player names in list

* Added hasura action to fetch verified accounts on 3Box

* Added usernames

* fix router
2020-05-13 02:02:21 -06:00
Pacien Boisson
7747ff69d0 Architecture update (#7)
* Fix errors with profile_rank ENUM

* Upgrade to Hasura 1.2.1

* Rename Profile to Account

* Common JS package

* rm app-react/lib/did

* Better login management
2020-05-08 21:54:00 +02:00
Hammad Jutt
1c5955ce32 Update Hasura to latest version 2020-04-18 11:39:01 -06:00
Pacien Boisson
c684b9d836 Base architecture (#1)
* Hasura and base models

* Added role public SELECT permissions

* Added role player UPDATE permissions

* basic backend api

* Added SELECT permissions for player

* Update backend to typescript

* init app-react

* Add apollo

* graphql-codegen not working well...

* Added web3 to web app

* connecting frontend with web3

* Auth webhook verifies eth signature

* Update frontend to fetch player_id
2020-04-16 10:20:15 +02:00