No description
Find a file
2025-07-05 22:59:41 +02:00
backend Created app to handle users 2025-07-05 22:59:41 +02:00
frontend configuration files cleaning 2025-06-28 04:17:27 +02:00
.gitignore Completely reworked backend config 2025-07-05 22:45:56 +02:00
pyrightconfig.json Completely reworked backend config 2025-07-05 22:45:56 +02:00
Readme.md Configuration files 2025-06-28 01:33:55 +02:00

🎵 Melomaniacs — Fullstack Web App

Ce projet utilise :

  • Backend : Python, Django, Django REST Framework, Poetry
  • Frontend : React, TypeScript, Vite
  • Dev Tools : Ruff, Black, ESLint, Prettier, Git

🗂️ Structure du projet

.
├──  backend/  # Django + DRF + Python (via Poetry)
└──  frontend/  # React + Vite + TypeScript

🔧 1. Backend — Python + Django

📦 Installation initiale

Crée un venv local dans .venv et installe les dépendances

poetry install

Active lenvironnement virtuel localement

poetry run python manage.py migrate

🧪 (optionnel) Pour créer un superuser :

poetry run python manage.py createsuperuser

▶️ Démarrage du serveur Django

poetry run python manage.py runserver

⚛️ 2. Frontend — React + TypeScript + Vite

📦 Installation initiale

Installe les dépendances Node.js

yarn install

▶️ Démarrage de Vite

yarn dev

🧹 3. Outils de développement

Lint & format

Backend (Python)

Lint avec Ruff

poetry run ruff check  .

Format avec Black

poetry run black .

Frontend (JS/TS/React)

Lint avec ESLint

yarn lint

Format avec Prettier

yarn format