Compare commits

...

4 Commits

Author SHA1 Message Date
aee6ea6638 update readme 2026-07-19 16:09:52 +02:00
761657ede8 fix(docker-compose.yml): MAJ postgre volume 2026-07-19 16:02:01 +02:00
37a6f60647 npm audit fix 2026-07-19 15:46:23 +02:00
Raph
2109d3c0bf configuration SWC 2026-07-19 15:32:06 +02:00
5 changed files with 3170 additions and 774 deletions

View File

@@ -1,2 +1,37 @@
# gestion-inscriptions-mycompet # gestion-inscriptions-mycompet
## Setup
### Node
```bash
nvm install 24.14.1
nvm use 24.14.1
npm install
```
### .env
Create the .env (from .env.example)
## Run modules
### Database
```bash
docker compose up -d db
```
### Backend
```bash
npm run start:dev -w backend
```
### Frontend
```bash
npm run dev -w frontend
```

View File

@@ -10,12 +10,12 @@ services:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-gim_db_password} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-gim_db_password}
POSTGRES_DB: ${POSTGRES_DB:-gim_db} POSTGRES_DB: ${POSTGRES_DB:-gim_db}
volumes: volumes:
- db_data:/var/lib/postgresql/data - db_data:/var/lib/postgresql
networks: networks:
- gim_network - gim_network
api: api:
build: build:
context: ./packages/backend context: ./packages/backend
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: gim_api container_name: gim_api
@@ -28,7 +28,7 @@ services:
- DB_USER=${POSTGRES_USER:-gim_db_admin} - DB_USER=${POSTGRES_USER:-gim_db_admin}
- DB_PASSWORD=${POSTGRES_PASSWORD:-gim_db_password} - DB_PASSWORD=${POSTGRES_PASSWORD:-gim_db_password}
- DB_NAME=${POSTGRES_DB:-gim_db} - DB_NAME=${POSTGRES_DB:-gim_db}
- ENCRYPTION_MASTER_KEY=${ENCRYPTION_MASTER_KEY} - ENCRYPTION_MASTER_KEY=${ENCRYPTION_MASTER_KEY}
ports: ports:
- "3000:3000" - "3000:3000"
networks: networks:
@@ -53,4 +53,4 @@ networks:
driver: bridge driver: bridge
volumes: volumes:
db_data: db_data:

3897
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -3,6 +3,8 @@
"collection": "@nestjs/schematics", "collection": "@nestjs/schematics",
"sourceRoot": "src", "sourceRoot": "src",
"compilerOptions": { "compilerOptions": {
"builder": "swc",
"typeCheck": true,
"deleteOutDir": true "deleteOutDir": true
} }
} }

View File

@@ -41,6 +41,8 @@
"@nestjs/cli": "^11.0.0", "@nestjs/cli": "^11.0.0",
"@nestjs/schematics": "^11.0.0", "@nestjs/schematics": "^11.0.0",
"@nestjs/testing": "^11.0.1", "@nestjs/testing": "^11.0.1",
"@swc/cli": "^0.8.1",
"@swc/core": "^1.15.26",
"@types/bcrypt": "^6.0.0", "@types/bcrypt": "^6.0.0",
"@types/express": "^5.0.0", "@types/express": "^5.0.0",
"@types/jest": "^30.0.0", "@types/jest": "^30.0.0",