Commit Graph

17 Commits

Author SHA1 Message Date
Hammad Jutt
1c7dbe8dab Setup Image Optimization (#146)
* Implement user auth on web

* Setup Image Optimization

* Add favicon

* Add IMGIX_TOKEN to render.yaml
2020-10-12 10:56:55 -06:00
Hammad Jutt
ab8782cf28 Fix handler for SourceCred migration (#108)
Was breaking before due to unique key conflicts because sourceCredIdentity IDs have potential to change around.
2020-09-06 18:59:48 -06:00
Hammad Jutt
e8f1a1628d Update TS, setup SourceCred SDK, and add helpers to utils (#107)
* Update TS version and setup SourceCred API in backend

* Fix typeError in Player.tsx

* Update yarn.lock

* Update yarn.lock and fix type errors
2020-09-06 18:50:22 -06:00
Hammad Jutt
7e0e42a2ff Generate Typesafe SDK for Hasura in Backend (#68) 2020-08-15 02:26:29 -06:00
Hammad Jutt
dbe4f046d8 Update dependencies and fix updateBoxProfile handler.ts 2020-08-05 01:45:56 -06:00
Hammad Jutt
d0662178f3 Setup codegen for backend resolvers and improve 3Box types 2020-08-04 21:09:51 -06:00
Pacien Boisson
6e0f0c9b66 using a remote schema instead of an action for getBoxProfile 2020-08-04 20:29:08 -06:00
Hammad Jutt
85f3e59ceb Consolidate more package.json entries into root package.json 2020-07-27 12:23:29 -06:00
Hammad Jutt
c273196658 Cleanup Monorepo Build and packaging 2020-07-24 10:01:25 -06:00
Hammad Jutt
26c9bfa134 Cleanup / simplify package.json scripts and names 2020-07-13 11:06:24 -06:00
Hammad Jutt
209f5df23d Centralize typescript package to root package.json 2020-07-13 11:06:24 -06:00
Hammad Jutt
5cfd7d88dd Setup multistage build to allow running backend server in dev mode so we dont have to run it outside Docker
This will automatically restart the backend server in docker anytime there are changes to the original
source files instead of copying over when running in dev mode. In production, it will still do the
normal copy/build.
2020-07-06 01:55:44 -06:00
Pacien Boisson
899335594a [WIP] Fix docker with lerna (#8)
* trying to fix Backend docker image with lerna

* fix dockerfile CMD

* Fix Dockerfile build

* Fix 3box types

Co-authored-by: Hammad Jutt <jutt@ualberta.ca>
2020-06-08 00:49:39 -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
995778c29e Use strict typesafety and fix type errors 2020-04-18 00:42:19 -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