summaryrefslogtreecommitdiff
path: root/shrine/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2026-03-03feat: Implement middleware for HTTP logging and request contextBobby1-5/+42
- Added httpLogger middleware to log HTTP requests with status, method, IP, and duration. - Introduced request middleware to build and store request context. - Created a centralized middleware initialization function. - Enhanced logging functionality with different log levels based on HTTP status codes. feat: Set up routing with error handling - Established a router package to manage application routes. - Implemented a custom error handler to respond with appropriate error messages. - Added sample route for a hello endpoint with authentication requirement. feat: Introduce utility functions for environment variable management - Developed functions to retrieve and parse environment variables with default values. - Implemented a parser to populate configuration structs from environment variables. feat: Create structured logging with zap - Integrated zap logger for structured logging with customizable log levels and formats. - Added color-coded log messages for better visibility in the console. feat: Build request metadata utilities - Created utilities to build and manage request metadata, including query parameters, headers, and route parameters. - Implemented a facade pattern for easier access to request data. feat: Enhance URL management with namespaces - Developed a URL management system to handle route registration with namespaces. - Added functionality to retrieve full paths for registered routes. chore: Initialize database and application structure - Set up initial application structure with main entry point and middleware integration. - Created a database connection handler for graceful shutdown.
2026-02-27feat(garden): initialize Solid.js project with basic structure and routingBobby1-0/+10
- Added package.json with dependencies for Solid.js and Vite. - Created main application component (App) with layout and suspense handling. - Implemented Layout component with navigation and sidebar sections. - Added NavSection and Sidebar components for structured navigation. - Configured API URL based on environment. - Created 404 error page for handling non-existent routes. - Set up global styles and theme variables for consistent design. - Established routing with lazy loading for the 404 page. - Added TypeScript configuration for Solid.js. - Configured Vite for development and production builds. - Created Makefile for building and running the Go application in the shrine directory. - Added .gitignore for ignoring build artifacts and environment files.