Commit graph

89 commits

Author SHA1 Message Date
b45c074a12 Ajouter responses/ à build step 2023-06-02 16:36:08 -04:00
764093f99d Bump routes v4 -> v5
Remplacer références GetV4 -> GetHealth

Ajouter package responses

Remplacer handlers.GetHealthResponse -> responses.GetHealth
2023-06-02 16:33:13 -04:00
9ac95672b9 Fix ApiClient.GetHealth
Utiliser type handlers.GetHealthResponse

Pointer vers route /v4/health
2023-06-02 16:21:14 -04:00
883edccf87 Cleanup dataclient pour cmd/api
Utiliser NewDataClientFromViper
2023-06-02 16:16:18 -04:00
412727bf9c Fix local imports 2023-06-02 16:08:08 -04:00
b6d3949a11 Merge pull request '[BREAKING] Déplacer route /v4 vers /v4/health' (#12) from breaking/v4-to-health into main
Reviewed-on: #12
2023-06-02 02:20:12 -05:00
7823541f0e Ajouter ping de database à healthcheck 2023-06-02 03:17:43 -04:00
b4af26d3dd Fix /v4/health 2023-06-02 03:17:40 -04:00
6d010c5009 Cleanup webhandlers.GetMembre
Remplacer data.NewApiClient() -> data.NewApiClientFromViper()

Cleanup comments
2023-06-02 02:46:08 -04:00
80a0260021 Ajouter data.NewDataClientFromViper() 2023-06-02 02:44:11 -04:00
4673612e06 Ajouter data.NewApiClientFromViper() 2023-06-02 02:43:37 -04:00
098d255190 Déplacer /v4 -> /v4/health
Renommer handler GetV4 pour GetHealth

Ajouter GetHealthResponse pour serialize et deserialize json response
2023-06-02 02:35:15 -04:00
23d6507a96 Merge pull request 'Merge v4 with root of project' (#8) from breaking/merge-v3-v4 into main
Reviewed-on: #8
2023-05-29 17:20:46 -05:00
9782ef77f6 Update copyright years 2023-05-29 18:20:00 -04:00
9a0bf87e7b Bump root version to v4
Remove all files from v3

Move all files from v4/ to project root
2023-05-29 18:19:31 -04:00
3c0d45fa04 Merge pull request 'Ajouter license manquante à v4' (#7) from fix/missing-license into main
Reviewed-on: #7
2023-05-29 16:40:07 -05:00
c421c86f21 Ajouter license manquante à v4 2023-05-29 17:39:36 -04:00
be183055c8 Merge pull request 'Ajouter style basique pour client web' (#6) from style/web into main
Reviewed-on: #6
2023-05-26 01:10:33 -05:00
2d3b291e9b Ajouter style basique pour client web 2023-05-26 02:09:18 -04:00
fa71f729f2 Merge pull request 'Fix client web démarre sans API server accessible' (#5) from fix/web-without-api into main
Reviewed-on: #5
2023-05-26 00:45:48 -05:00
942b69407d Fix client web démarre sans API server accessible
Ajouter apiClient.GetV4() comme health check du API server
2023-05-26 01:43:58 -04:00
3e42ac0454 Merge pull request 'Réécrire le projet pour la v4' (#4) from breaking/v4 into main
Reviewed-on: #4
2023-05-25 22:31:14 -05:00
7887be1838 Mettre à jour README.md 2023-05-25 23:29:54 -04:00
801df2c522 Retirer commentaires 2023-05-25 23:20:50 -04:00
97ee9458bb Fix typo 2023-05-25 23:19:35 -04:00
641a144019 Ajouter autofocus sur text input 2023-05-25 23:15:57 -04:00
7aca281a3c Ajouter multistage build docker
Valeurs par défaut devraient fonctionner pour évaluer l'application hors-production
2023-05-25 23:03:28 -04:00
e585b65565 Permettre au client web de rechercher unE membre 2023-05-25 22:07:53 -04:00
719c92a652 Remove debug prints 2023-05-25 19:26:37 -04:00
3aa7faa2f6 [WIP] Add web client
Ignore .swp files

Rename serverCmd to apiCmd (the web client is technically a server too)

Add webCmd for html routes hosting

Add embedding and templating for web client

Add webhandlers

Fix some variables not being filled automatically by viper

Change flags and reorganize config structure
2023-05-25 19:22:46 -04:00
3e37e8ffef Améliorer insert error management 2023-05-25 05:03:46 -04:00
ef4e9f7050 Set sensible flags pour server 2023-05-25 04:44:06 -04:00
9e7a8b3e46 Trier déclarations de routes 2023-05-25 04:40:13 -04:00
1a8fce6361 Ignore fichiers .env 2023-05-25 04:35:00 -04:00
Victor Lacasse-Beaudoin
b9044fa08d Ajouter update de membre.prefered_name 2023-05-25 04:31:29 -04:00
Victor Lacasse-Beaudoin
f1a4d190df Ajouter insertion de programmes 2023-05-25 03:44:41 -04:00
Victor Lacasse-Beaudoin
cb51ada4b6 Ajouter upload par json
Fonctionne avec json dans request body ou en fichier formatté json

Cleanup commentaires

Ajouter vérification d'insertion vide
2023-05-25 03:23:07 -04:00
Victor Lacasse-Beaudoin
3ccebd8cfb Refactor app sous v4/ 2023-05-25 02:21:09 -04:00
c74e093a3b Squashed into initial commit 2023-03-06 14:01:18 -05:00