(punition): No more working on backend until Maieul says so :(
This commit is contained in:
parent
9734e2d865
commit
56ad511ceb
2 changed files with 30 additions and 18 deletions
|
|
@ -104,22 +104,22 @@ services:
|
|||
###############
|
||||
# TIC-TAC-TOE #
|
||||
###############
|
||||
tic-tac-toe:
|
||||
build:
|
||||
context: ./src/
|
||||
args:
|
||||
- SERVICE=tic-tac-toe
|
||||
- EXTRA_FILES=tic-tac-toe/extra
|
||||
container_name: tic-tac-toe
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- transcendance-network
|
||||
volumes:
|
||||
- sqlite-volume:/volumes/database
|
||||
- static-volume:/volumes/static
|
||||
environment:
|
||||
- JWT_SECRET=KRUGKIDROVUWG2ZAMJZG653OEBTG66BANJ2W24DTEBXXMZLSEB2GQZJANRQXU6JA
|
||||
- DATABASE_DIR=/volumes/database
|
||||
# tic-tac-toe:
|
||||
# build:
|
||||
# context: ./src/
|
||||
# args:
|
||||
# - SERVICE=tic-tac-toe
|
||||
# - EXTRA_FILES=tic-tac-toe/extra
|
||||
# container_name: tic-tac-toe
|
||||
# restart: unless-stopped
|
||||
# networks:
|
||||
# - transcendance-network
|
||||
# volumes:
|
||||
# - sqlite-volume:/volumes/database
|
||||
# - static-volume:/volumes/static
|
||||
# environment:
|
||||
# - JWT_SECRET=KRUGKIDROVUWG2ZAMJZG653OEBTG66BANJ2W24DTEBXXMZLSEB2GQZJANRQXU6JA
|
||||
# - DATABASE_DIR=/volumes/database
|
||||
|
||||
###############
|
||||
# CHAT #
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
# Backend
|
||||
|
||||
# Frontend
|
||||
|
||||
# Frontend
|
||||
Loading…
Add table
Add a link
Reference in a new issue