Skip to content
Merged

Dev #10

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
822cec1
feature/router Add : react router => Home + Signup pages
IlP4rAd0xlI Sep 8, 2025
e43d5bc
feature/router Remove : default css / img / Title (= clean project)
IlP4rAd0xlI Sep 8, 2025
2a1d392
feature/signup Bugfix : "npm run dev" not automatically refreshing
IlP4rAd0xlI Sep 8, 2025
c456c8a
feature/signup-frontend Create : form + sign up field
IlP4rAd0xlI Sep 8, 2025
2b94c45
feature/signup-frontend Bugfix : tailwind not working
IlP4rAd0xlI Sep 10, 2025
b11a7c1
feature/signup-frontend Create : pseudo field & Add : min 3 character…
IlP4rAd0xlI Sep 10, 2025
e23083a
Add ReadMe and change emplacement gitignore
Tisa40486 Sep 10, 2025
c9c5a21
Update ReadMe
Tisa40486 Sep 10, 2025
dbf2067
feature/signup Update : pseudo field
IlP4rAd0xlI Sep 12, 2025
87d4b73
Merge pull request #6 from Tisa40486/feature/signup-frontend
IlP4rAd0xlI Sep 12, 2025
e35d3bf
Update gitignore
Tisa40486 Sep 12, 2025
4bae564
Merge branch 'dev' of https://github.com/Tisa40486/Same into dev
Tisa40486 Sep 12, 2025
5bb40ec
feature/signup Update : first name field + last name field
IlP4rAd0xlI Sep 12, 2025
04c766f
uow user and lkp + repo
Tisa40486 Sep 12, 2025
aecd3e1
clean project
Tisa40486 Sep 12, 2025
13f82d4
feature/signup Update : pseudoField change check errors structure
IlP4rAd0xlI Sep 17, 2025
4d681dd
Update .gitignore
Tisa40486 Sep 19, 2025
825a8f1
update and add connectionstring
Tisa40486 Sep 19, 2025
e80ab61
Miaou
Tisa40486 Sep 19, 2025
5b1c878
api completed first validation
Tisa40486 Sep 21, 2025
0839f0c
api struct work
Tisa40486 Sep 21, 2025
a5ea989
feature/signup Create : Birthdate & email fields
IlP4rAd0xlI Sep 22, 2025
7d1b6dd
feature/signup Create : Password field
IlP4rAd0xlI Sep 22, 2025
8f80d8c
feature/signup Rename : pseudo -> username
IlP4rAd0xlI Sep 22, 2025
079788c
feature/signup Update : firstname / lastname logic
IlP4rAd0xlI Sep 22, 2025
c93d48a
Add genderinput and getall and adminController
Tisa40486 Sep 22, 2025
337633f
feature/signup SignupForm V1 (before the mess) : Add css instead of t…
IlP4rAd0xlI Sep 23, 2025
c41221e
feature/signup SignupForm Add : style by myself
IlP4rAd0xlI Sep 23, 2025
365f13f
Crud User completed
Tisa40486 Sep 23, 2025
4ef786a
feature/signup Update :formstyle V2 pc -> before t mobile first
IlP4rAd0xlI Sep 24, 2025
277b29c
feature/signup Update CSS + Add SASS
IlP4rAd0xlI Sep 24, 2025
c45ce30
feature/signup Update CSS
IlP4rAd0xlI Sep 25, 2025
99543cb
Azure link
Tisa40486 Sep 26, 2025
c06be61
Azure deploy 2
Tisa40486 Sep 26, 2025
5967b56
Add or update the Azure App Service build and deployment workflow config
Tisa40486 Sep 26, 2025
a33de04
signup-frontend Update : style
IlP4rAd0xlI Sep 26, 2025
f1d9087
Create Profession cr and link to azure database,
Tisa40486 Sep 28, 2025
2289a81
feature/signup Update : style => good mobile devices responsivity
IlP4rAd0xlI Sep 29, 2025
44225ad
feature/signup Add : error display for username field
IlP4rAd0xlI Sep 29, 2025
5459894
feature/signup Add : error display
IlP4rAd0xlI Oct 1, 2025
897e8ef
user dao change columnname
Tisa40486 Oct 3, 2025
66e89e2
signup-frontend Add : AppRoutes / emotion Remove : sass
Oct 3, 2025
206ab69
signup-frontend Add : AppRoutes / emotion Remove : sass
Oct 3, 2025
f132f83
Merge pull request #7 from Tisa40486/feature/signup-frontend
IlP4rAd0xlI Oct 3, 2025
30e5471
signup-frontend Convert styles to emotion (in progress)
Oct 3, 2025
20fd035
feature/signup Convert all to emotion style
IlP4rAd0xlI Oct 3, 2025
ba2648c
feature/signup Remove : signup.css
IlP4rAd0xlI Oct 3, 2025
f7c44c6
Merge pull request #8 from Tisa40486/feature/signup-frontend
IlP4rAd0xlI Oct 3, 2025
8c60ef0
feature/signup Add : UserPost onclick
IlP4rAd0xlI Oct 3, 2025
534bbff
major edit, need to find why gender response is null when a i call ge…
Tisa40486 Oct 5, 2025
511103a
update USER mld.md
Tisa40486 Oct 10, 2025
1b9f60c
Update MLD.md
Tisa40486 Oct 10, 2025
f2ed3a3
Update MLD.md
Tisa40486 Oct 10, 2025
a5d9e2f
Update MLD.md
Tisa40486 Oct 10, 2025
b2811c1
Update MLD.md
Tisa40486 Oct 10, 2025
ef3d686
Update MLD.md
Tisa40486 Oct 10, 2025
b9973ea
Update MLD.md
Tisa40486 Oct 10, 2025
8efa690
Update MLD.md
Tisa40486 Oct 10, 2025
73bf68c
Create User model MLD
Tisa40486 Oct 10, 2025
abecd61
Update MLD.md
Tisa40486 Oct 10, 2025
72e1c63
Add profession and school
Tisa40486 Oct 10, 2025
f2f68da
remove comment (im fucking stupid)
Tisa40486 Oct 10, 2025
717df46
add School to user
Tisa40486 Oct 10, 2025
b02e2c3
add Post
Tisa40486 Oct 10, 2025
f32fca3
Add files via upload
lexas220 Oct 10, 2025
65bb560
Add or update the Azure App Service build and deployment workflow config
Tisa40486 Oct 10, 2025
78d0b3a
deploiement test
Tisa40486 Oct 10, 2025
6a29290
Merge branch 'dev' of https://github.com/Tisa40486/Same into dev
Tisa40486 Oct 10, 2025
9db98e3
depoliement test 1
Tisa40486 Oct 10, 2025
d41446a
Create Apibuild.yml
Tisa40486 Oct 10, 2025
6df91af
Update Apibuild.yml
Tisa40486 Oct 10, 2025
3c038a5
Create main.yml
Tisa40486 Oct 10, 2025
068f81c
Update main.yml
Tisa40486 Oct 10, 2025
a603815
Update main.yml
Tisa40486 Oct 10, 2025
9caaf10
Update main.yml
Tisa40486 Oct 10, 2025
a2a6d67
add school repo
Tisa40486 Oct 17, 2025
49b37df
signup-frontend Add : LoginForm
IlP4rAd0xlI Oct 20, 2025
a4e8c47
update readme
Tisa40486 Oct 31, 2025
aebb2b6
feature signup : post function
IlP4rAd0xlI Nov 12, 2025
41dd857
feature signup : fix post function url setup in .env
IlP4rAd0xlI Nov 13, 2025
f13aaac
Merge pull request #9 from Tisa40486/feature/signup-frontend
IlP4rAd0xlI Nov 14, 2025
036e5c1
Remove API project folder => this repo is now only for Same frontend
Nov 14, 2025
4702af0
Fix little warnings : remove unused const on passwordFields and remov…
Nov 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_API_URL=https://localhost:7171/api
40 changes: 40 additions & 0 deletions .github/workflows/Apibuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build and Publish .NET API

on:
push:
branches: [ "dev" ] # Se déclenche quand vous poussez sur la branche 'dev'
workflow_dispatch:

jobs:
build-and-publish:
runs-on: ubuntu-latest

steps:
# 1. Récupère le code de votre dépôt
- name: Checkout repository
uses: actions/checkout@v3

- name: List files in the repository
run: ls -R

# 2. Installe la bonne version de .NET
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
# IMPORTANT : Modifiez cette ligne pour correspondre à la version de votre projet !
# (Ex: '6.0.x', '7.0.x', '8.0.x')
dotnet-version: '9.0.x'

# 3. Restaure les dépendances en ciblant votre fichier .sln
- name: Restore dependencies
run: dotnet restore SameApi.sln

# 4. Compile le projet en mode Release
- name: Build
run: dotnet build SameApi.sln --configuration Release --no-restore

# 5. Publie l'API (prépare les fichiers pour le déploiement)
- name: Publish
run: dotnet publish ./SameApi/SameApi.App/SameApi.App.csproj -c Release -o ./publish
# ATTENTION : Vérifiez que le chemin vers votre projet API (.csproj) est correct.
# D'après votre screenshot, il s'agit probablement de "SameApi.App".
63 changes: 63 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Nom du workflow qui apparaîtra dans l'onglet "Actions" de GitHub
name: Build and Deploy .NET API to Azure

# Déclenche le workflow à chaque push sur la branche "dev"
on:
push:
branches: [ "dev" ]
workflow_dispatch:

jobs:
# PREMIER JOB : Construit l'application
build:
runs-on: ubuntu-latest

steps:
# Étape 1 : Récupère le code de votre dépôt
- name: Checkout repository
uses: actions/checkout@v4

# Étape 2 : Configure l'environnement .NET
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
# --- MODIFIEZ ICI ---
# Mettez la version de .NET de votre projet (ex: '6.0.x', '8.0.x')
dotnet-version: '9.0.x'

# Étape 3 : Restaure les dépendances, compile et publie le projet
- name: Build and publish
run: |
dotnet restore ./SameApi/SameApi.sln
dotnet build ./SameApi/SameApi.sln --configuration Release --no-restore
dotnet publish ./SameApi/SameApi.App/SameApi.App.csproj -c Release -o ./publish

# Étape 4 : Archive les fichiers publiés pour le job de déploiement
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: api-app
path: ./publish

# DEUXIÈME JOB : Déploie l'application sur Azure
deploy:
runs-on: ubuntu-latest
needs: build # Ce job ne démarre que si le job "build" a réussi

steps:
# Étape 1 : Télécharge les fichiers archivés par le job "build"
- name: Download a Build Artifact
uses: actions/download-artifact@v4
with:
name: api-app

# Étape 2 : Déploie sur Azure App Service
- name: Deploy to Azure Web App
uses: azure/webapps-deploy@v2
with:
# --- MODIFIEZ ICI ---
# Mettez le nom de votre App Service créé sur Azure
app-name: 'SameAPi'

# Utilise le secret que vous avez configuré dans les paramètres GitHub
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
File renamed without changes.
1 change: 0 additions & 1 deletion React/public/vite.svg

This file was deleted.

42 changes: 0 additions & 42 deletions React/src/App.css

This file was deleted.

35 changes: 0 additions & 35 deletions React/src/App.tsx

This file was deleted.

1 change: 0 additions & 1 deletion React/src/assets/react.svg

This file was deleted.

3 changes: 0 additions & 3 deletions React/src/index.css

This file was deleted.

11 changes: 0 additions & 11 deletions React/tailwind.config.js

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed SameApi/.vs/SameApi/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed SameApi/.vs/SameApi/v17/.futdcache.v2
Binary file not shown.
Binary file removed SameApi/.vs/SameApi/v17/.suo
Binary file not shown.
12 changes: 0 additions & 12 deletions SameApi/.vs/SameApi/v17/DocumentLayout.backup.json

This file was deleted.

54 changes: 0 additions & 54 deletions SameApi/.vs/SameApi/v17/DocumentLayout.json

This file was deleted.

18 changes: 0 additions & 18 deletions SameApi/SameApi.Business/SameApi.Business.csproj

This file was deleted.

6 changes: 0 additions & 6 deletions SameApi/SameApi.Business/SameApiProfile.cs

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Loading
Loading