Flavio Fois
84521d8d59
refactor routing into a modular and versioned structure
...
Move inline route definitions from main.go into a dedicated internal/routes package. This organization introduces support for API versioning (v1) and separates endpoint logic into specialized modules for administration and bug reporting.
2026-03-23 09:18:16 +01:00
Flavio Fois
9aa188af8c
update air configuration for binary name and additional file extensions
...
Rename the output binary to emly-api.exe and expand the watcher to include .env, .sql, and .tmpl files. Additional directories like .idea, .vscode, and .claude are now excluded from the build watch.
2026-03-23 08:42:26 +01:00
Flavio Fois
da650c2b82
enhance bug report handling with pagination, filtering, and improved response structure
2026-03-19 09:00:07 +01:00
Flavio Fois
9df575067a
add database schema migration for bug reports and users tables
2026-03-18 13:04:47 +01:00
Flavio Fois
2fd89881e7
mark DELETE endpoint for bug reports as complete in TODO list
2026-03-18 10:54:25 +01:00
Flavio Fois
210eefe4ce
improve file handling in bug report route to ensure proper closure and error logging
2026-03-18 10:54:19 +01:00
Flavio Fois
42623a47bd
update configuration to include database connection settings and adjust connection management
2026-03-18 10:54:15 +01:00
Flavio Fois
15ef46d413
refactor bug report response to use embedded template for report formatting
2026-03-18 09:40:10 +01:00
Flavio Fois
f0181aafba
add build directory to .gitignore
2026-03-18 09:33:29 +01:00
Flavio Fois
3f54e1cea4
refactor bug report handlers to use centralized JSON response functions and add delete functionality
2026-03-18 09:32:01 +01:00
Flavio Fois
52947965db
add status management for bug reports and update routing
2026-03-17 21:14:54 +01:00
Flavio Fois
b23915d3b0
update environment example to use single API_KEY and add ADMIN_KEY
2026-03-17 18:29:32 +01:00
Flavio Fois
4058cbe17c
add MIT license and rename health handler file
...
Add the MIT license file and rename the health handler to follow the project's naming convention for route files.
2026-03-17 18:27:55 +01:00
Flavio Fois
45dbe480a5
add bug report creation handler and update routing structure
2026-03-17 18:20:14 +01:00
Flavio Fois
c61afa45c7
implement admin key authentication and refactor API key handling
2026-03-17 16:13:48 +01:00
Flavio Fois
8097be88a6
refactor bug report structure and add API endpoints for bug report management
2026-03-17 15:08:54 +01:00
Flavio Fois
08ff1da469
add initial project structure with configuration, models, and API key authentication
2026-03-17 12:21:48 +01:00