Le site pour The Daltons Crew. https://daltons-crew.itsnova.sh
  • Svelte 72.4%
  • TypeScript 21%
  • CSS 4.5%
  • JavaScript 1.6%
  • HTML 0.3%
  • Other 0.2%
Find a file
2026-06-10 09:35:18 +02:00
.vscode feat(prisma): added prisma provider 2026-06-10 09:35:18 +02:00
prisma feat(prisma): added prisma provider 2026-06-10 09:35:18 +02:00
src feat(league): added league players' stat handling 2026-06-10 09:35:18 +02:00
static initial commit 2026-05-28 15:45:42 +02:00
.dockerignore chore(docker): dockerized app 2026-06-10 09:35:18 +02:00
.env.example feat(prisma): added prisma provider 2026-06-10 09:35:18 +02:00
.gitattributes chore(git): made git manage line endings 2026-06-10 09:35:18 +02:00
.gitignore feat(prisma): added prisma provider 2026-06-10 09:35:18 +02:00
.npmrc initial commit 2026-05-28 15:45:42 +02:00
.prettierignore initial commit 2026-05-28 15:45:42 +02:00
.prettierrc initial commit 2026-05-28 15:45:42 +02:00
components.json chore(deps): added shadcn-svelte 2026-05-28 20:15:31 +02:00
compose.yml feat(prisma): added prisma provider 2026-06-10 09:35:18 +02:00
Dockerfile feat(prisma): added prisma provider 2026-06-10 09:35:18 +02:00
eslint.config.js initial commit 2026-05-28 15:45:42 +02:00
package-lock.json feat(ui): added components 2026-06-10 09:35:18 +02:00
package.json feat(ui): added components 2026-06-10 09:35:18 +02:00
prisma.config.ts feat(prisma): added prisma provider 2026-06-10 09:35:18 +02:00
README.md feat(prisma): added prisma provider 2026-06-10 09:35:18 +02:00
svelte.config.js feat(league): added league players' stat handling 2026-06-10 09:35:18 +02:00
tsconfig.json initial commit 2026-05-28 15:45:42 +02:00
vite.config.ts chore(deps): added enhanced-img 2026-05-28 20:15:07 +02:00

Daltons Crew

[INSÉRER SLOGAN ICI]

Getting Started

You must have NodeJS v24+ and Docker Compose installed.

Development

  1. Install the dependencies.

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

    cp .env.example .env
    
  3. Generate the prisma client.

    npx prisma generate
    
  4. Run the services using docker compose.

    # Start the container
    docker compose up --watch --build
    
    # Stop the container
    docker compose stop
    
    # Remove everything
    docker compose down --remove-orphans
    
  5. (Optional) Seed the database.

    First, create the data inside prisma/data.json with the following structure.

    [
        {
            "nickname": "johndoe304",
            "name": "John",
            "skill": {
                "top": 9,
                "jungle": 7,
                "mid": 3,
                "adc": 4,
                "support": 3
            },
            "preference": {
                "top": 1,
                "jungle": 2,
                "mid": 4,
                "adc": 3,
                "support": 5
            }
        }
        // Other players...
    ]
    
    npx prisma db seed
    
  6. Open your browser at http://localhost:5173.