Git Product home page Git Product logo

chesscolate's Introduction

ChessColate Screenshot

ChessColate is an application focused on improving chess tactics through personalized training plans.

It is an open-source project and is complemented by the backend:

It features a database populated with over 3 million records from lichess:

Installation

  1. You need to have a Firebase project.
  2. Create a file named keys.ts in the path: src/app/environments/keys.ts. The file should have the following structure:
    export const keys = {
      firebase: {
        projectId: '',
        appId: '',
        storageBucket: '',
        locationId: '',
        apiKey: '',
        authDomain: '',
        messagingSenderId: '',
        measurementId: '',
      }
    };
  3. Install the necessary packages:
    npm install
    

Run in development mode

This is an Ionic project, so you can use:

To work with the puzzles, follow the installation instructions of the backend at:

Compile and push the container to production

npm run build:ssr
docker build -t chesscolate-web .
docker tag chesscolate-web jsonfront/chesscolate-web
docker push jsonfront/chesscolate-web

Android build

It's a Capacitor project with adjustments for compiling due to Angular SSR.

  • Build the project with:

    ionic build
    

    This will generate the compiled folder at dist/app/browser due to SSR.

    • Modify webDir in the capacitor.config.json file to point to the compiled folder.

    • Then execute:

      npm run clean:build:android
      

      This script cleans the build directory from packaged files like .map, etc.

      • Next, compile the project normally for Android with:

        ionic cap sync android
        ionic cap copy android
        

        etc.

  • Generate icon and splash screens with:

    npx @capacitor/assets generate --iconBackgroundColor '#eeeeee' --iconBackgroundColorDark '#121212' --splashBackgroundColor '#eeeeee' --splashBackgroundColorDark '#121212'
    

Icons

The icons used in the project are from:

chesscolate's People

Contributors

json-alzate avatar

Stargazers

 avatar

Watchers

 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.