New search function et drag and drop clean

This commit is contained in:
2025-11-10 19:40:14 +01:00
parent d969b05ead
commit cd9a96c760
42 changed files with 2164 additions and 34 deletions

View File

@ -0,0 +1,41 @@
---
title: "Authentication Guide"
date: "10-11-2025"
last_modified: "10-11-2025:19:21"
tags: ["documentation", "api", "security"]
---
# Authentication
## Current Status
⚠️ No authentication currently implemented.
## Future Implementation
### JWT Tokens
```
POST /api/auth/login
{
"username": "user",
"password": "pass"
}
Response:
{
"token": "eyJhbGc..."
}
```
### Bearer Token
```
Authorization: Bearer eyJhbGc...
```
## Security
- HTTPS only in production
- Reverse proxy with nginx
- Rate limiting

View File

@ -0,0 +1,38 @@
---
title: "API Endpoints Reference"
date: "10-11-2025"
last_modified: "10-11-2025:19:21"
tags: ["documentation", "api"]
---
# API Endpoints
## Notes
### List Notes
```
GET /api/v1/notes
```
Returns array of all notes.
### Get Note
```
GET /api/v1/notes/{path}
Accept: application/json | text/markdown
```
### Create/Update Note
```
PUT /api/v1/notes/{path}
Content-Type: application/json
```
### Delete Note
```
DELETE /api/v1/notes/{path}
```
## Examples
See API.md for complete examples.

View File

@ -0,0 +1,31 @@
---
title: "Getting Started Guide"
date: "10-11-2025"
last_modified: "10-11-2025:19:21"
tags: ["documentation", "guide", "tutorial"]
---
# Getting Started
## Installation
1. Clone the repo
2. Install Go 1.22+
3. Install Node.js dependencies
4. Build frontend
5. Run server
```bash
git clone https://github.com/user/project-notes.git
cd project-notes
cd frontend && npm install && npm run build
cd ..
go run ./cmd/server
```
## First Steps
1. Create a note
2. Add tags
3. Search with Ctrl+K
4. Organize with folders

View File

@ -0,0 +1,41 @@
---
title: "Markdown Syntax Guide"
date: "10-11-2025"
last_modified: "10-11-2025:19:21"
tags: ["documentation", "guide", "markdown"]
---
# Markdown Syntax
## Headers
```markdown
# H1
## H2
### H3
```
## Emphasis
**bold** and *italic*
## Lists
- Item 1
- Item 2
- Nested
## Code
Inline `code` and blocks:
```python
def hello():
print('Hello')
```
## Tables
| Column | Column |
|--------|--------|
| Data | Data |