Play Hex online.
Currently hosted here: https://playhex.org/
Requires:
- node >= 18.18.2
- yarn
Create and .env
file with at least your database access. Example:
DATABASE_URL="mysql://root:root@localhost:3306/hex"
Then run these commands:
# Install dependencies
yarn install
# Generate prisma classes
yarn prisma generate
# Create database schema
yarn prisma db push
# Start application
yarn serve
Wait javascript to be bundled, then the application is available at:
# Unit tests (Mocha)
yarn test
# e2e tests (Cypress)
yarn test:e2e
# Open Cypress browser
yarn cypress open
And see manual tests to check also.
# See which dependencies take more size
yarn analyse-size
Compare two json files with: https://happy-water-0887b0b1e.azurestaticapps.net.
This library is under AGPL-3.0 license.