Change d'interface plus légére, modification side barre
This commit is contained in:
@ -1,34 +0,0 @@
|
||||
---
|
||||
title: API Design
|
||||
date: 10-11-2025
|
||||
last_modified: 12-11-2025:10:32
|
||||
tags:
|
||||
- projet
|
||||
- backend
|
||||
- api
|
||||
---
|
||||
|
||||
# API Design
|
||||
|
||||
## Architecture REST
|
||||
|
||||
Notre API suit les principes REST avec les endpoints suivants:
|
||||
|
||||
- `GET /api/v1/notes` - Liste toutes les notes
|
||||
- `GET /api/v1/notes/{path}` - Récupère une note
|
||||
- `PUT /api/v1/notes/{path}` - Crée/met à jour une note
|
||||
- `DELETE /api/v1/notes/{path}` - Supprime une note
|
||||
|
||||
## Authentification
|
||||
|
||||
Pour l'instant, pas d'authentification. À implémenter avec JWT.
|
||||
|
||||
## Rate Limiting
|
||||
|
||||
À considérer pour la production.
|
||||
|
||||
|
||||
<!-- -->
|
||||
|
||||
|
||||
## This is a test
|
||||
31
notes/projets/backend/codemirror-integration.md
Normal file
31
notes/projets/backend/codemirror-integration.md
Normal file
@ -0,0 +1,31 @@
|
||||
---
|
||||
title: CodeMirror Integration
|
||||
date: 10-11-2025
|
||||
last_modified: 12-11-2025:09:37
|
||||
tags:
|
||||
- projet
|
||||
- frontend
|
||||
- editor
|
||||
---
|
||||
|
||||
# CodeMirror 6 Integration
|
||||
|
||||
## Configuration
|
||||
|
||||
Nous utilisons CodeMirror 6 avec:
|
||||
- `@codemirror/lang-markdown` pour le Markdown
|
||||
- `@codemirror/theme-one-dark` pour le thème
|
||||
- `@codemirror/basic-setup` pour les fonctionnalités de base
|
||||
|
||||
## Slash Commands
|
||||
|
||||
Système de commandes rapides avec `/`:
|
||||
- /h1, /h2, /h3 - Titres
|
||||
- /date - Date actuelle
|
||||
- /table - Tableau
|
||||
- /code - Bloc de code
|
||||
|
||||
|
||||
## Auto-save
|
||||
|
||||
Déclenché après 2 secondes d'inactivité.
|
||||
Reference in New Issue
Block a user