Skip to content

GreenTeaCake/fpgl

Repository files navigation

Game List Monorepo

No-brainer start

Please have ports 3000 and 5173 open.

$ docker compose up --build
# api is at http://localhost:3000/api/v1
# web is at http://localhost:5173/

Full Startup Flow

Pre-requisites

There is .nvmrc so you can go

# in workspace root
$ nvm use
$ npm i -g pnpm

Build and Check Code

# go to workspace root
$ cd <workspace_root>
# install dependencies
$ pnpm install
# build packages
$ pnpm run -r build
# (optional) lint code
$ pnpm lint
# (optional) format code
$ pnpm format
# (optional) run tests
$ pnpm run -r test
$ pnpm run -r test:e2e
# start development environment
$ pnpm run -r start
# api is at http://localhost:3000/api/v1
# web is at http://localhost:5173/

Known Issues

  • No collapsing for the filters panel on mobile.
  • Column number selection slider is rigid in general and responses strange on browsers different from Chrome.
  • There should be a handler for API client functions that processes error codes and navigates to /login for 403. That should cover a case when session is expired/revocked on server side.

Tested only on MacOS's Chrome, Firefox, Safari and Edge of latest versions. Hopefully the app works fine on other platforms/browsers.