You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add semantic versioning and automated release system
- Enhanced GitHub Actions workflow with semantic version Docker tags
- Added automated release script with safety checks and version validation
- Support for multiple Docker image tags: :latest, :1.0.0, :1.0, :1, :main, :dev
- Multi-architecture builds (amd64 + arm64) with Cosign signing
- NPM scripts for patch/minor/major releases
- Comprehensive documentation for versioning and release process
- Production-ready tagging strategy with proper latest tag management
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
The application supports dual database architectures:
82
138
83
-
The application uses SQLite for data storage. In Docker deployments, data is persisted using a named volume (`checkin-data`) mounted to `/data` in the container.
139
+
### SQLite (Development/Local)
140
+
-**Default**: Automatically used when no Azure SQL credentials are provided
141
+
-**Local development**: Database stored at `./checkin.db`
142
+
-**Docker deployment**: Uses named volume (`checkin-data`) mounted to `/data/checkin.db`
143
+
-**Pros**: Simple setup, no external dependencies
144
+
-**Cons**: File locking issues on shared storage systems
145
+
146
+
### Azure SQL Database (Production)
147
+
-**Auto-detection**: Used when all Azure SQL environment variables are provided
148
+
-**Environment Variables**:
149
+
-`AZURE_SQL_SERVER` - Server hostname (e.g., `myserver.database.windows.net`)
150
+
-`AZURE_SQL_DATABASE` - Database name (e.g., `checkin`)
151
+
-`AZURE_SQL_USERNAME` - Database username
152
+
-`AZURE_SQL_PASSWORD` - Database password
153
+
-**Pros**: High availability, automatic scaling, no file locking issues
154
+
-**Recommended**: For production cloud deployments
84
155
85
156
## API Endpoints
86
157
158
+
### Core API
87
159
-`GET /api/generate-id` - Generate a new user GUID
88
160
-`GET /api/checkins/:userId` - Get all check-ins for a user
89
161
-`GET /api/checkins/:userId/:date` - Get check-in for specific user and date
90
162
-`POST /api/checkins` - Create or update a check-in
91
163
-`PUT /api/checkins/:userId/bulk` - Replace all check-ins for a user with provided data
92
164
-`DELETE /api/checkins/:userId/bulk` - Delete all check-ins for a user
93
165
166
+
### Health Check & Monitoring
167
+
-`GET /health` - Basic health check (returns 200 OK regardless of database status)
168
+
-`GET /ready` - Readiness probe (returns 200 only when database is ready)
0 commit comments