Coder Social home page Coder Social logo

kumojin / extreme-carpaccio Goto Github PK

View Code? Open in Web Editor NEW
0.0 7.0 0.0 8.83 MB

Fork of the extreme carpaccio kata, updated to use more recent libraries and fix some bugs

Home Page: https://kumojin.com

License: BSD 3-Clause "New" or "Revised" License

Dockerfile 0.72% C# 11.96% Shell 1.10% Clojure 1.62% D 1.40% Erlang 4.00% Batchfile 0.17% F# 2.05% Procfile 0.01% Go 1.07% Groovy 1.29% Haskell 1.65% Java 25.17% JavaScript 9.27% Kotlin 4.33% PHP 20.59% Makefile 1.45% Gherkin 0.55% Python 9.62% Racket 2.01%
kata nodejs typescript coding-game game

extreme-carpaccio's People

Contributors

aldocd4 avatar alexvictoor avatar annemano avatar arnauld avatar bchiquet avatar bernardnotarianni avatar cedricrup avatar chaabani-anis avatar dependabot-preview[bot] avatar dependabot[bot] avatar dijonkitchen avatar dlresende avatar essic avatar floby avatar frawa avatar gphilipp avatar jja-octo avatar jutkko avatar lukaszkokot avatar mdulac avatar mmetesreau avatar poenneby avatar radwane-h avatar renovate[bot] avatar rhwy avatar seblm avatar syl20b avatar vador avatar xballoy avatar xereda avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

extreme-carpaccio's Issues

Backup current state of the game

Add a backup of the game to allow to restart it at a specific state. This can be useful if the server crash or the laptop shutdown (battery issue for example).

Definition of done

  • The server can start without a backup
  • If a backup is present it will load it as an initial state
  • Add tests on both cases
  • The backup must not be commited in the repository

Suggestions

To save the state you could use SQLite or a JSON file.

Server should be able to pick the reduction from a list

Currently in the configuration file we can put only one type of reduction at the time (see reduction configuration). We should be able to use an array of reductions.

Definition of done

  • Replace the "reduction" field by an array in the configuration file
  • If the picked reduction is not known we fallback to "STANDARD" (current behaviour) to prevent crash from typo in the config file.
  • Add tests

To be discussed

  • Do we randomly pick a reduction or we can weight them?

Server doesn't send request to clients using https

If a client register with an https schema the server fails to send request to it.

This is probably due to the fact that we use node:http in every case when we should use node:https when the client is using https.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • ci(deps): update dependency eslint-plugin-jsx-a11y to v6.8.0
  • ci(deps): update dependency eslint-plugin-react to v7.33.2
  • ci(deps): update dependency http-status-codes to v2.3.0
  • ci(deps): update dependency jest-when to v3.6.0 (jest-when, @types/jest-when)
  • ci(deps): update dependency joi to v17.11.0
  • ci(deps): update dependency node-mocks-http to v1.14.0
  • ci(deps): update dependency react-bootstrap to v2.9.2
  • ci(deps): update dependency sqlite to v4.2.1
  • ci(deps): update dependency turbo to v1.11.2
  • ci(deps): update dependency typescript to v5.3.3
  • ci(deps): update dependency vite to v4.5.1
  • ci(deps): update dependency winston to v3.11.0
  • ci(deps): update react monorepo (@types/react, @types/react-dom)
  • ci(deps): update typescript-eslint monorepo to v5.62.0 (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • ci(deps): update actions/checkout action to v4
  • ci(deps): update actions/setup-node action to v4
  • ci(deps): update dependency @tanstack/react-query to v5
  • ci(deps): update dependency @tsconfig/node16 to v16
  • ci(deps): update dependency @types/supertest to v6
  • ci(deps): update dependency @vitejs/plugin-react to v4
  • ci(deps): update dependency eslint-config-prettier to v9
  • ci(deps): update dependency eslint-plugin-prettier to v5
  • ci(deps): update dependency node to v20 (node, @types/node)
  • ci(deps): update dependency prettier to v3
  • ci(deps): update dependency sqlite to v5
  • ci(deps): update dependency tsup to v8
  • ci(deps): update dependency vite to v5
  • ci(deps): update typescript-eslint monorepo to v6 (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • ci(deps): lock file maintenance

Pending Status Checks

These updates await pending status checks. To force their creation now, click the checkbox below.

  • ci(deps): update dependency @swc/core to v1.3.102
  • ci(deps): update dependency @types/node to v18.19.4

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout v3
  • actions/setup-node v3
npm
server/apps/backend/package.json
  • @types/big.js 6.2.2
  • @types/body-parser 1.19.5
  • @types/express 4.17.21
  • @types/http-status-codes 1.2.0
  • @types/lodash 4.14.202
  • argon2 0.31.2
  • big.js 6.2.1
  • body-parser 1.20.2
  • colors 1.4.0
  • cross-env 7.0.3
  • dotenv 16.3.1
  • express 4.18.2
  • http-status-codes 2.2.0
  • joi 17.9.2
  • lodash 4.17.21
  • sqlite 4.1.2
  • sqlite3 5.1.6
  • winston 3.8.2
  • @swc/core 1.3.101
  • @swc/jest 0.2.29
  • @tsconfig/node16 1.0.4
  • @types/jest 29.5.11
  • @types/jest-when 3.5.2
  • @types/node 18.19.3
  • @types/supertest 2.0.16
  • @typescript-eslint/eslint-plugin 5.58.0
  • @typescript-eslint/parser 5.58.0
  • bower 1.8.14
  • eslint 8.56.0
  • eslint-config-airbnb-base 15.0.0
  • eslint-config-airbnb-typescript 17.1.0
  • eslint-config-prettier 8.10.0
  • eslint-plugin-import 2.29.1
  • jest 29.7.0
  • jest-when 3.5.2
  • node-mocks-http 1.12.2
  • supertest 6.3.3
  • tsup 6.7.0
  • typescript 5.0.4
server/apps/frontend/package.json
  • @formatjs/intl-numberformat 8.9.0
  • @tanstack/react-query 4.36.1
  • @types/node 18.19.3
  • @types/react 18.0.35
  • @types/react-dom 18.0.11
  • bootstrap 5.3.2
  • chart.js 4.4.1
  • react 18.2.0
  • react-bootstrap 2.7.4
  • react-chartjs-2 5.2.0
  • react-dom 18.2.0
  • @types/react 18.0.35
  • @types/react-dom 18.0.11
  • @typescript-eslint/eslint-plugin 5.58.0
  • @typescript-eslint/parser 5.58.0
  • @vitejs/plugin-react 3.1.0
  • eslint 8.56.0
  • eslint-config-airbnb 19.0.4
  • eslint-config-airbnb-typescript 17.1.0
  • eslint-plugin-import 2.29.1
  • eslint-plugin-jsx-a11y 6.7.1
  • eslint-plugin-prettier 4.2.1
  • eslint-plugin-react 7.32.2
  • eslint-plugin-react-hooks 4.6.0
  • typescript 5.0.4
  • vite 4.2.1
server/package.json
  • prettier 2.8.8
  • rimraf 5.0.5
  • turbo 1.9.9
nvm
server/.nvmrc
  • node 18

  • Check this box to trigger a request for Renovate to run again on this repository

Rewrite the server frontend using a modern stack

Currently the server frontend is using React 0.12 and jQuery. This a working but the stack is outdated and it is not easy to add new features in the UI.

Definition of done

  • Use the latest version of React for the server UI
  • Add tests to prevent any regression

Suggestion

  • Use Turborepo for a clean monorepo with a backend app and a frontend app (#5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.