|
|
преди 2 седмици | |
|---|---|---|
| .github | преди 2 седмици | |
| desktop-app | преди 2 седмици | |
| gradle | преди 1 месец | |
| src | преди 2 седмици | |
| .gitattributes | преди 1 месец | |
| .gitignore | преди 1 месец | |
| Dockerfile | преди 1 месец | |
| README.md | преди 1 месец | |
| TESTING_WORKFLOW.md | преди 2 седмици | |
| UNIFIED_WORKFLOW.md | преди 2 седмици | |
| WORKFLOW_BUILD_FIX.md | преди 2 седмици | |
| WORKFLOW_PERMISSIONS_FIX.md | преди 2 седмици | |
| build.gradle | преди 1 месец | |
| gradlew | преди 1 месец | |
| gradlew.bat | преди 1 месец | |
| settings.gradle | преди 1 месец | |
| test-workflow.sh | преди 2 седмици |
A modern, efficient note-taking application with automatic compression, dark mode theming, and mobile-responsive design.
Build the application
./gradlew build
Run the application
./gradlew bootRun
Access the application
http://localhost:8080| Method | Endpoint | Description |
|---|---|---|
GET |
/api/notes/{id} |
Retrieve a note by ID |
POST |
/api/notes |
Create a new note |
PUT |
/api/notes |
Update an existing note |
Create Note:
POST /api/notes
Content-Type: application/json
{
"note": "Your note content here"
}
Response:
{
"id": "01KDECFWYDMS857DZMCR680MCY",
"content": "Your note content here",
"createdAt": "2024-12-27T10:30:00Z",
"modifiedAt": "2024-12-27T10:30:00Z"
}
Run the test suite:
./gradlew test
Test categories:
The application uses MongoDB for storage. Configure connection in application.properties:
spring.data.mongodb.uri=mongodb://localhost:27017/knotes