A secure RESTful API for a terminal-style logger/journal that stores encrypted entries on the host machine. This API allows you to save text entries, retrieve them with various filtering options, and ensures privacy through AES-256 encryption.
- Create journal entries with timestamp tracking
- Retrieve entries with pagination
- Get entries for a specific date
- Secure storage with AES-256 encryption
- Persistent storage between server restarts
- Clone the repository
- Run
dotnet runto start the server - Configure appsettings.json with your encryption key
- Access the API at http://localhost:5000
Create a new journal entry
Request body: json { "content": "Your journal entry text here" }
Response: json { "id": 1, "content": "Your journal entry text here", "timestamp": "2025-03-09T10:14:28.948118Z" }
Get all journal entries
Query parameters:
date: Filter entries by date (YYYY-MM-DD)limit: Number of entries per page (default: 10)page: Page number (default: 1)
Response: json [ { "id": 1, "content": "Your journal entry text here", "timestamp": "2025-03-09T10:14:28.948118Z" } ]
Get entries for a specific date
Query parameters:
date: Date to filter entries (YYYY-MM-DD)
Response: json [ { "id": 1, "content": "Your journal entry text here", "timestamp": "2025-03-09T10:14:28.948118Z" } ]