Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3644c47843 | |||
| b60149d3ec | |||
| 567ddbd41c | |||
| 122d0e7af6 | |||
|
|
06fae502df |
22 changed files with 16 additions and 31 deletions
16
README.md
Normal file
16
README.md
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Projet Sécurité INFO5A 2022
|
||||||
|
|
||||||
|
**Auteurs**:
|
||||||
|
- Baptiste Peupier
|
||||||
|
- Wilfried Vallée
|
||||||
|
- Mihary Ranaivoson
|
||||||
|
- Yûki Vachot
|
||||||
|
|
||||||
|
**Branches**:
|
||||||
|
- db1: Base de données Utilisateur
|
||||||
|
- db2: Base de données Log
|
||||||
|
- backend: Flask Backend
|
||||||
|
- frontend: Serveur Angular avec un autre serveur Flask Backend communiquant avec la "branche" backend
|
||||||
|
- development: non mis à jour ne pas cloner
|
||||||
|
|
||||||
|
docker compose up pour chaque branche
|
||||||
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 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 not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,14 +0,0 @@
|
||||||
-- Table: logs
|
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS logs
|
|
||||||
(
|
|
||||||
id serial PRIMARY KEY,
|
|
||||||
date timestamp NOT NULL,
|
|
||||||
id_user integer,
|
|
||||||
ip character varying(15) NOT NULL,
|
|
||||||
"table" character varying(25) NOT NULL,
|
|
||||||
action character varying(50) NOT NULL,
|
|
||||||
message character varying(512) NOT NULL,
|
|
||||||
has_succeeded boolean NOT NULL,
|
|
||||||
status_code smallint NOT NULL
|
|
||||||
);
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
version: '3.8'
|
|
||||||
|
|
||||||
services:
|
|
||||||
flaskaled-srv2:
|
|
||||||
image: postgres:latest
|
|
||||||
container_name: flaskaled-srv2
|
|
||||||
ports:
|
|
||||||
- "5434:5432"
|
|
||||||
volumes:
|
|
||||||
- ./backend/init-db2.sql:/docker-entrypoint-initdb.d/init-db2.sql
|
|
||||||
environment:
|
|
||||||
- POSTGRES_HOST=flaskaled-srv2
|
|
||||||
- POSTGRES_PORT=5432
|
|
||||||
- POSTGRES_DB=flaskaledDb2
|
|
||||||
- POSTGRES_USER=flaskaled2
|
|
||||||
- POSTGRES_PASSWORD=aled2
|
|
||||||
restart: unless-stopped
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue