@betarena/scores-lib
v4.1.0
Published
Global methods, graphQL, types & Declarations for Betarena Scores Platform
Downloads
841
Readme
📝 - Package Description
This pacakge
is a gateway for developing at Betarena, giving access to (but not limited to):
- Global common TS functions
- Typescript declarations (
d.ts
) for:- Detailed and accurate PostgreSQL database table schemas (tailored for
Hasura/GraphQL
format) - Detailed endpoint (1) responses & (2) requests from complementary internal backend services
- Detailed and accurate PostgreSQL database table schemas (tailored for
- Wrappers for:
- GraphQL (Hasura)
queries
&websockets
instances - Redis connection
- API for communication with complementary backend services
- GraphQL (Hasura)
, which is used internally at Betarena and its Javascript/Typescript
based projects.
🚀 - Get Started
npm install @betarena/scores-lib@latest
# OR
# pnpm [..]
# yarm [..]
🧪 - Local Development
pnpm run 'local/1-click/pnpm'
[!IMPORTANT] It is strongly recommended to use
pnpm
, for its (1) symlink capabilites and (2) betternode_modules/
management when working on other Betarena project simultanously, that depend onscores-lib
.