New search function et drag and drop clean
This commit is contained in:
41
notes/documentation/api/authentication.md
Normal file
41
notes/documentation/api/authentication.md
Normal 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
|
||||
38
notes/documentation/api/endpoints.md
Normal file
38
notes/documentation/api/endpoints.md
Normal 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.
|
||||
31
notes/documentation/guides/getting-started.md
Normal file
31
notes/documentation/guides/getting-started.md
Normal 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
|
||||
41
notes/documentation/guides/markdown-syntax.md
Normal file
41
notes/documentation/guides/markdown-syntax.md
Normal 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 |
|
||||
Reference in New Issue
Block a user