Commit Graph

59 Commits

Author SHA1 Message Date
Hammad Jutt
c2cfd22571 Fix fonts in web app 2020-08-02 19:17:47 -06:00
Kris Urbas
c22e932723 add fonts to storybook (#45) 2020-07-31 00:47:50 +10:00
Hammad Jutt
b16219fdf1 Remove restore key for CI cache 2020-07-29 14:36:41 -06:00
Hammad Jutt
b63b69674d Fix broken tests 2020-07-29 14:36:41 -06:00
Hammad Jutt
a11d4fea21 Use new TS build system for ds and utils 2020-07-29 14:36:41 -06:00
Hammad Jutt
7a3b83d9d8 Setup TSDX for design system 2020-07-29 14:36:41 -06:00
Pacien Boisson
64f9a2f661 Fix package/utils TS compiling
Due to recent change to tsconfigs, the utils module was compiling in esnext and the backend was broken
2020-07-28 12:55:52 -06:00
Hammad Jutt
ddefe14d69 Fix test command 2020-07-27 12:23:29 -06:00
Hammad Jutt
85f3e59ceb Consolidate more package.json entries into root package.json 2020-07-27 12:23:29 -06:00
Hammad Jutt
25d89a52d6 Fallback to restore previous node_modules cache in github action 2020-07-27 12:23:29 -06:00
Hammad Jutt
71c70ac4f0 Centralize more of eslint config, gitignore, and tsconfig 2020-07-27 12:23:29 -06:00
Hammad Jutt
c8bf4af0b7 Use InferGetStaticPropsType to simplify type annotations 2020-07-27 12:23:29 -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
66d318fd26 Remove linting from prepush script 2020-07-26 19:56:11 -06:00
Hammad Jutt
c589719f0c Fix web build script to include deps 2020-07-26 19:56:11 -06:00
Hammad Jutt
0f9c790351 Setup Design System with NextJS Web App
Also replaced the local fonts with Google fonts since they are more performant and easier to package. Created a custom
Link component to render the ChakraUI link inside the NextJS Link properly.
2020-07-26 19:56:11 -06:00
Hammad Jutt
c7f74aa211 Setup CI to run linting / typechecking / unit testing with Github Actions 2020-07-26 10:52:22 -06:00
Hammad Jutt
4adabe29b8 Setup build for nextJS app 2020-07-24 10:01:25 -06:00
Hammad Jutt
c273196658 Cleanup Monorepo Build and packaging 2020-07-24 10:01:25 -06:00
Hammad Jutt
c8bc49c958 Remove old frontend 2020-07-24 10:01:25 -06:00
Hammad Jutt
3c961052a1 Setup NextJS App with URQL and dummy pokemon data 2020-07-23 22:30:57 -06:00
Kris Urbas
73c49e6a43 setup design system as a new package (#36) 2020-07-22 19:10:20 +10:00
Hammad Jutt
cf3c3f7474 Reformat code 2020-07-13 11:19:48 -06:00
Hammad Jutt
1a679cbc45 Fix type errors 2020-07-13 11:19:48 -06:00
Hammad Jutt
30c9ee5e19 Fix all linting errors 2020-07-13 11:19:48 -06:00
Hammad Jutt
39d0785fc9 Setup ESLint config and lint-staged check 2020-07-13 11:19:48 -06:00
Hammad Jutt
b106992d31 Reuse base tsconfig in all packages 2020-07-13 11:19:48 -06:00
Hammad Jutt
18adfa46d2 Reformat all existing code 2020-07-13 11:11:04 -06:00
Pacien Boisson
a127df4669 Rollback CI=true in yarn app:start 2020-07-13 11:06:24 -06:00
Pacien Boisson
ecfec24234 Added frontend section in readme 2020-07-13 11:06:24 -06:00
Hammad Jutt
db26a50c3b Setup husky, prettier, and lint-staged 2020-07-13 11:06:24 -06:00
Hammad Jutt
33e079c2ce Centralize gitignore file 2020-07-13 11:06:24 -06:00
Hammad Jutt
26c9bfa134 Cleanup / simplify package.json scripts and names 2020-07-13 11:06:24 -06:00
Hammad Jutt
914908813f remove extra yarn.lock and type definitions 2020-07-13 11:06:24 -06:00
Hammad Jutt
3e0e11cc36 Add GPL3 license 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
1ea05b6e19 Update Readme 2020-07-12 11:41:52 -06:00
Hammad Jutt
5de1a5eba5 Simplify Render config 2020-07-12 11:41:52 -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
aa22456bfb Fix type errors in app 2020-07-12 11:41:52 -06:00
Hammad Jutt
ccf37a5b4e Update build script for react-app 2020-07-12 11:41:52 -06:00
Hammad Jutt
063c8f91db Setup deployment config for Render 2020-07-12 11:41:52 -06:00
dependabot[bot]
243ddfcf11 Bump websocket-extensions from 0.1.3 to 0.1.4 in /frontend (#11)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-12 12:41:44 +02: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
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
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