Home

Awesome

Cardbox Frontend

code style: prettier Commitizen friendly Conventional Commits

Get Started

  1. Clone repository

  2. Prepare local certificate authorithy

    Setup via mkcert:

    mkcert -install
    

    Then generate your personal local certificates for cardbox:

    yarn prepare:certs
    
  3. Setup local env for development

    Copy from .env.sample file and make sure the default settings are correct

    # Change some if you need
    RAZZLE_SESSION_TOKEN=XXXXXX
    CLIENT_PUBLIC_PATH=https://localhost:9101/
    PORT=9100
    BACKEND_URL=https://cardbox.sova.dev/api/internal
    
  4. Install and run:

    yarn install
    yarn start
    

Other commands

yarn api     # update api by codegen
yarn lint    # lint project with fix

Development

HotReload

Sometime you should manually restart server for new changes

# Just type and press ENTER:
rs

Effector

Structure

Project designed by FeatureSliced

WIP: Project is migrating from FSv1 to FSv2

app

pages

shared

WIP: soon will be placed at src/shared