Skip to content

This is a client for the `adventure-capitalist-game` repository.

Notifications You must be signed in to change notification settings

stanislav-halyn/adventure-capitalist-client

Repository files navigation

Adventure capitalist client

Commitizen friendly

This is a client for the Adventure capitalist game repository. It handles the back-end socket events and shows the updated info to the user.

About

This project is using React, Redux and Typescript as a main stack of technologies.

The project is using feature-based architecture as in my opinion it's quite maintainable and simple. At the moment there's only one feature: game, which includes the ui logic of the game handling.

Commits convention

This repo is using commitizen to follow conventional commits. To be able to commit into this repo, you should run following commands:

  npm install -g commitizen
  npm install

In order to create a new commit you should type in your console:

  git cz

You'll be prompted to fill out required commit fields.

Note: this repo is using hasky hooks, so you won't be able to push commits which don't follow the conventional commits rules.

Installation

Minimum required version of node is 11.15.0.

In order to run the project, you need to rename the .env.example file to .env and set you environmental variables.

When your .env file is set up, you need to install dependencies with the following commands in your console:

  npm i

Now to run the project in dev or prod mode, run the following command:

  npm run start:dev

or

  npm run build
  npm start

Linters

This project is using stylelint and eslint for linting.

  npm run lint
  npm run stylelint

Tests

To run the tests, simply run:

  npm test

About

This is a client for the `adventure-capitalist-game` repository.

Resources

Stars

Watchers

Forks

Packages

No packages published