Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3644c47843 | |||
| b60149d3ec | |||
| 567ddbd41c | |||
| 122d0e7af6 | |||
|
|
06fae502df |
22 changed files with 16 additions and 30 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,13 +0,0 @@
|
||||||
-- Table: users
|
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS users
|
|
||||||
(
|
|
||||||
id serial PRIMARY KEY,
|
|
||||||
email character varying(320) NOT NULL,
|
|
||||||
nickname character varying(50) NOT NULL,
|
|
||||||
hash_pass bytea NOT NULL,
|
|
||||||
salt bytea NOT NULL,
|
|
||||||
is_admin boolean NOT NULL DEFAULT FALSE
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO users VALUES(0,'admin@admin.admin','Admin',decode('e5ed79b503704ed20a1d250770db68182118de7fe0236db9bbfb0dd9684087d6', 'hex'),decode('7012f69f1ac7c23c5dca498c30fa94527b507cc9e40fab9bae284d1465a37724', 'hex'),TRUE);
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
version: '3.8'
|
|
||||||
|
|
||||||
services:
|
|
||||||
flaskaled-srv1:
|
|
||||||
image: postgres:latest
|
|
||||||
container_name: flaskaled-srv1
|
|
||||||
ports:
|
|
||||||
- "5433:5432"
|
|
||||||
volumes:
|
|
||||||
- ./backend/init-db1.sql:/docker-entrypoint-initdb.d/init-db1.sql
|
|
||||||
environment:
|
|
||||||
- POSTGRES_HOST=flaskaled-srv1
|
|
||||||
- POSTGRES_PORT=5432
|
|
||||||
- POSTGRES_DB=flaskaledDb1
|
|
||||||
- POSTGRES_USER=flaskaled1
|
|
||||||
- POSTGRES_PASSWORD=aled1
|
|
||||||
restart: unless-stopped
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue