Skip to content

poker-io/pokerio-server

Repository files navigation

pokerio-server

Build Lint Prettier Tests codecov

Requirements

Make sure you're using node version 18 or newer. To install the appropriate version follow the instructions on nodejs.org.

To install dependencies run:

yarn install

Remember to add the serviceAccount.json file from Firebase under src/ as well as a secrets.ts file that contains login credentials for the database. It should be similar to this:

export const user = 'pokerio-user'
export const password = 'pokerio-password'
export const database = 'pokerio-database'

Running

Run yarn start.

The app will attempt to connect to a Postgres database using the details provided in databaseConnection.ts.

Testing

We use Jest for testing. To run it, simply type yarn test.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published