Giter VIP home page Giter VIP logo

game-of-life's Introduction

Game of life project

This is a simple visual implementation of John Conway's Game of Life. It's main focus is to learn following concepts during software application lifecycle:

  • CI/CD integration using local GitLab server
  • Monorepo project structure
  • Websocket communication between client and server

What's inside?

This repository uses Yarn as a package manager. It includes the following packages/apps:

Apps and Packages

  • frontend: a React app create using CRA
  • backend: a Node.js app built with Express framework
  • logger: a logger implementation using Winston, used by backend applications
  • config: eslint configurations (includes eslint-config-airbnb and eslint-config-prettier)
  • tsconfig: tsconfig.json's used throughout the monorepo

Each package/app is 100% TypeScript.

Utilities

This turborepo has some additional tools:

CI/CD

This turborepo, apart from being hosted on GitHub, was developed using locally set up GitLab server, in order to make use of its vast CI/CD support for learning purposes. All services required for CI/CD and monitoring functionality are defined inside ci-cd/docker-compose.yml file, which contains:

  • GitLab server - for storing repository locally
  • GitLab runner - for running CI/CD pipeline and executing jobs specified in .gitlab-ci.yml file
  • Portainer - for monitoring status of dockerized CI/CD stack
  • SonarQube - for performing static code analysis automatically as a pipeline step
  • PostgreSQL - for storing SonarQube related data

Setup

This repository is used in the npx create-turbo command, and selected when choosing which package manager you wish to use with your monorepo (Yarn).

Build

To build all apps and packages, run the following command:

cd game-of-life-v2
yarn run build

Develop

To develop all apps and packages, run the following command:

cd game-of-life-v2
yarn run dev

Useful Links

game-of-life's People

Contributors

piotr-rzepa avatar

Watchers

James Cloos avatar  avatar

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.