(punition): No more working on backend until Maieul says so :(

This commit is contained in:
apetitco 2025-12-04 17:53:05 +01:00
parent 9734e2d865
commit 56ad511ceb
2 changed files with 30 additions and 18 deletions

View file

@ -104,22 +104,22 @@ services:
############### ###############
# TIC-TAC-TOE # # TIC-TAC-TOE #
############### ###############
tic-tac-toe: # tic-tac-toe:
build: # build:
context: ./src/ # context: ./src/
args: # args:
- SERVICE=tic-tac-toe # - SERVICE=tic-tac-toe
- EXTRA_FILES=tic-tac-toe/extra # - EXTRA_FILES=tic-tac-toe/extra
container_name: tic-tac-toe # container_name: tic-tac-toe
restart: unless-stopped # restart: unless-stopped
networks: # networks:
- transcendance-network # - transcendance-network
volumes: # volumes:
- sqlite-volume:/volumes/database # - sqlite-volume:/volumes/database
- static-volume:/volumes/static # - static-volume:/volumes/static
environment: # environment:
- JWT_SECRET=KRUGKIDROVUWG2ZAMJZG653OEBTG66BANJ2W24DTEBXXMZLSEB2GQZJANRQXU6JA # - JWT_SECRET=KRUGKIDROVUWG2ZAMJZG653OEBTG66BANJ2W24DTEBXXMZLSEB2GQZJANRQXU6JA
- DATABASE_DIR=/volumes/database # - DATABASE_DIR=/volumes/database
############### ###############
# CHAT # # CHAT #

View file

@ -1,6 +1,18 @@
# Directory layout
```plaintext
./src/tic-tac-toe
├── entrypoint.sh
├── package.json
├── README.md
├── src
│ ├── app.ts # The microservice app file, where the major part of the backend code lives.
│ └── run.ts # Equivalent of server.ts, it is the entrypoint for our service.
├── tsconfig.json
└── vite.config.js
```
# Anatomy of a microservice # Anatomy of a microservice
# Backend # Backend
# Frontend # Frontend