Le site pour The Daltons Crew. https://daltons-crew.itsnova.sh
  • Svelte 69.4%
  • TypeScript 25.8%
  • CSS 3.7%
  • JavaScript 0.9%
  • HTML 0.2%
Find a file
2026-11-26 04:53:41 +01:00
.vscode chore(vscode): specify default formatters 2026-10-13 23:40:38 +02:00
database refactor: remove jsonb from db 2026-10-16 00:33:29 +02:00
images docs: improved README 2026-10-02 20:57:07 +02:00
src perf(deps): moved to faster cn implementation of shadcn-svelte 2026-11-26 04:53:41 +01:00
static initial commit 2026-05-28 15:45:42 +02:00
.env.example feat: add infisical for secrets management 2026-10-07 18:11:16 +02:00
.gitattributes fix: fixed lfs files 2026-10-02 18:31:52 +02:00
.gitignore chore(kysely-codegen): generate runtime enums 2026-10-16 00:33:29 +02:00
.infisical.yaml chore: migrate infisical config 2026-10-16 00:33:29 +02:00
.npmrc initial commit 2026-05-28 15:45:42 +02:00
.prettierignore docs: improved README 2026-10-02 20:57:07 +02:00
.prettierrc fix: correctly format .yaml files 2026-10-06 08:47:21 +02:00
components.json feat(auth): add discord authentication 2026-10-07 18:41:09 +02:00
compose.yml feat: add infisical for secrets management 2026-10-07 18:11:16 +02:00
eslint.config.js feat: upgraded to kit 3.0 2026-10-02 20:57:07 +02:00
kysely.config.ts feat: moved to kysely 2026-10-02 21:11:34 +02:00
LICENSE chore: added LICENSE 2026-10-02 20:57:07 +02:00
package.json perf(deps): moved to faster cn implementation of shadcn-svelte 2026-11-26 04:53:41 +01:00
pnpm-lock.yaml perf(deps): moved to faster cn implementation of shadcn-svelte 2026-11-26 04:53:41 +01:00
pnpm-workspace.yaml fix: correctly format .yaml files 2026-10-06 08:47:21 +02:00
README.md chore(kysely-codegen): generate runtime enums 2026-10-16 00:33:29 +02:00
tsconfig.json feat: upgraded to kit 3.0 2026-10-02 20:57:07 +02:00
vite.config.ts feat: upgraded to kit 3.0 2026-10-02 20:57:07 +02:00

Logo

Daltons Crew

The Daltons Crew's web application!

See website · Report Bug · Request Feature

About The Project

Some cool features we developed for the crew.

Getting Started

Prerequisites

Installation

Log in with the Infisical CLI to access the secrets inside the app.

infisical login
  1. Install the dependencies.

    pnpm install
    
  2. Create a .env file based on .env.example.

    cp .env.example .env
    
  3. Start the database.

    infisical run --env=dev -- docker compose up --build --detach
    
  4. Run the migrations.

    infisical run --env=dev -- pnpm kysely migrate:latest
    
  5. Generate the types from the live database.

    infisical run --env=dev -- pnpm kysely-codegen --runtime-enums --out-file src/lib/providers/database/types.ts
    
  6. (Optional) Seed the database.

    First, create the data inside database/seeds/league.json with the following structure.

    [
        {
            "discordId": "<discord_id>",
            "name": "John",
            // leagueStats can be null if the user doesn't play league
            "leagueStats": {
                "skill": {
                    "top": 9,
                    "jungle": 7,
                    "mid": 3,
                    "adc": 4,
                    "support": 3
                },
                "preference": {
                    "top": 1,
                    "jungle": 2,
                    "mid": 4,
                    "adc": 3,
                    "support": 5
                }
            }
        }
        // Other players...
    ]
    
    infisical run --env=dev -- pnpm kysely seed:run
    
  7. Start the web application.

    infisical run --env=dev -- pnpm run dev
    
  8. Open your browser at http://localhost:5173.

License

Distributed under the MIT License. See LICENSE for more information.