No description
This repository has been archived on 2026-10-03. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eliott BIDAULT-HERVOUET 705ca45530 Move default admin + global exercises seed to a runtime seeder
Replace the migration HasData seeding of the default admin (and the
global respiration exercises it owns) with a startup IHostedService,
DatabaseSeeder, that reads DEFAULT_USER_* and the encryption keys live
on every boot and upserts idempotently against stable identifiers.
This avoids EF baking stale seed values into migrations.

- add Migration MoveAdminSeedToRuntime removing the baked-in seed rows
- register DatabaseSeeder in DI
- add the cesizen-api.Tests project

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 14:05:10 +02:00
.idea/.idea.cesizen-api/.idea Initialized project 2025-11-21 20:42:59 +01:00
Api /simplify pass: efficiency + code-quality batch 2026-05-15 11:41:18 +02:00
cesizen-api.Tests Move default admin + global exercises seed to a runtime seeder 2026-05-20 14:05:10 +02:00
Migrations Move default admin + global exercises seed to a runtime seeder 2026-05-20 14:05:10 +02:00
Properties Fixes 2026-02-22 11:18:58 +01:00
Seaweedfs Added file upload endpoints 2026-01-11 10:32:13 +01:00
Shared Move default admin + global exercises seed to a runtime seeder 2026-05-20 14:05:10 +02:00
.dockerignore Initialized project 2025-11-21 20:42:59 +01:00
.env.example Finished caching implementation 2026-02-16 20:48:53 +01:00
.env.local Finished caching implementation 2026-02-16 20:48:53 +01:00
.gitignore Rate limiting on auth endpoints, /health, typos, AllowMultiple migrations 2026-05-12 21:29:33 +02:00
appsettings.Development.json Started to implement Redis for cache 2026-02-15 20:51:12 +01:00
appsettings.json Started to implement Redis for cache 2026-02-15 20:51:12 +01:00
cesizen-api.csproj Move default admin + global exercises seed to a runtime seeder 2026-05-20 14:05:10 +02:00
cesizen-api.http Initialized project 2025-11-21 20:42:59 +01:00
cesizen-api.sln Move default admin + global exercises seed to a runtime seeder 2026-05-20 14:05:10 +02:00
cesizen-api.sln.DotSettings Added user default functionnality (#16) 2025-12-08 20:57:52 +01:00
CLAUDE.md Init claude and fixes 2026-05-12 22:33:59 +02:00
compose.yaml Added the S3 container and endpoint configuration 2026-01-11 10:32:13 +01:00
dev.compose.yaml Init claude and fixes 2026-05-12 22:33:59 +02:00
Dockerfile Initialized project 2025-11-21 20:42:59 +01:00
Program.cs Skip HTTPS redirection in development 2026-05-15 12:31:43 +02:00
README.md Initial commit 2025-11-21 20:39:07 +01:00

workflows-templates

A template of frequently used workflows

How to use

To use this, just use it as a template.

Certain values of the workflows will be changeme. You'll have to change these values to match your needs / the repository