55 Commits

Author SHA1 Message Date
damien DELPY
a9cf870eab
fix[SQL tables]: wrong name of the file according to the subject. 2024-11-08 11:07:53 +01:00
damien DELPY
5be32b1879
fix[SQL tables]: put the drop instructions in the file drop.sql. 2024-11-08 11:06:23 +01:00
Alessandre Laguierce
c0a5b036da feat: add marque registration 2024-10-26 17:58:23 +02:00
Alessandre Laguierce
3626f92d2d fix: good authentication process 2024-10-26 17:20:56 +02:00
Alessandre Laguierce
945109a6f0 feat: add JWT 2024-10-26 16:36:24 +02:00
Alessandre Laguierce
68773db8d6 fix: ignore dev-db 2024-10-26 15:51:46 +02:00
Alessandre Laguierce
defd414806 fix: better error code 2024-10-26 15:50:54 +02:00
Alessandre Laguierce
dd7cc24c08 feat: begin authentication process 2024-10-26 14:43:37 +02:00
Alessandre Laguierce
8b74c22a10 fix: working registering method 2024-10-26 11:19:26 +02:00
Nemo D'ACREMONT
2af110ff62
feat: only parse json body when content-type is json 2024-10-26 09:42:39 +02:00
Nemo D'ACREMONT
96abcb9db0
fix: since node_modules is not copied, use only one copy in Dockerfile 2024-10-26 09:33:07 +02:00
Nemo D'ACREMONT
fb7dc5f6f7
feat: add db init on prod, and remove former image attributes from docker-compose 2024-10-26 09:32:00 +02:00
Nemo D'ACREMONT
ba5e136dd5
feat: create tables for db on build 2024-10-26 09:28:18 +02:00
Nemo D'ACREMONT
6d566f74db
fix: add better default when processing process.env 2024-10-26 08:38:47 +02:00
Nemo D'ACREMONT
dd75bad74f
feat: add types for bcrypt 2024-10-26 08:36:23 +02:00
Alessandre Laguierce
6963e714f1 fix: rename variables 2024-10-25 22:59:40 +02:00
Alessandre Laguierce
b48bcb0082 feat: add password field in database 2024-10-25 22:56:18 +02:00
Alessandre Laguierce
8e2d6b7801 feat: add register member logic 2024-10-25 22:55:52 +02:00
Alessandre Laguierce
91e1f142ad feat: begin member 2024-10-25 21:05:52 +02:00
Nemo D'ACREMONT
3b0d794791
typo: fix DB_HOST 2024-10-25 19:34:14 +02:00
Nemo D'ACREMONT
37259bc5d7
Merge branch 'add-pg-client' 2024-10-25 19:29:41 +02:00
Nemo D'ACREMONT
bbef6e6755
feat: add a few instruction to start the app 2024-10-25 19:06:59 +02:00
Nemo D'ACREMONT
e6c2760814
feat: create docker-compose.dev.yml for dev environnement, and docker-compose.prod.yml for production 2024-10-25 19:05:27 +02:00
Nemo D'ACREMONT
1390039930
feat: use a function instead of arrow for new_client, martin will be happy 2024-10-25 19:03:02 +02:00
Nemo D'ACREMONT
fda268a033
feat: use routes in app.ts 2024-10-25 19:02:30 +02:00
Nemo D'ACREMONT
622c59df4d
feat: add logs and setup ejs templates 2024-10-25 19:02:16 +02:00
Nemo D'ACREMONT
0904acb9a9
feat: move routes definition to ./routes/ 2024-10-25 19:00:55 +02:00
Nemo D'ACREMONT
55334fa2b1
feat: load .env on app startup 2024-10-25 18:55:21 +02:00
Nemo D'ACREMONT
9fc9d87126
feat: add a first example template 2024-10-25 18:54:35 +02:00
Nemo D'ACREMONT
d95109a86e
refactor: use .env to configure the server in Dockerfile, it uses the .env.production 2024-10-25 18:54:01 +02:00
Nemo D'ACREMONT
b42d403031
feat: create .env.example for dev mode, and .env.production for prod environnement 2024-10-25 18:53:13 +02:00
Nemo D'ACREMONT
2aa20308f6
feat: add dotenv to load .env, ejs for templates, morgan for logging 2024-10-25 18:52:29 +02:00
Nemo D'ACREMONT
c40c14a481
feat: copy the templates folder to dist when compiling 2024-10-25 18:52:06 +02:00
Nemo D'ACREMONT
088f07a804
Merge branch 'add-pg-client' 2024-10-25 11:05:15 +02:00
Nemo D'ACREMONT
7f2b5b6964
feat: add the example to the app 2024-10-25 11:04:58 +02:00
Nemo D'ACREMONT
b16d648fbd
feat: create a client factory and an request example for the db 2024-10-25 11:04:47 +02:00
Nemo D'ACREMONT
f0b04ff710
fix: don't use pm2 for dev 2024-10-25 11:03:08 +02:00
Nemo D'ACREMONT
a2e176f249
fix: use ENV instead of ARG for env variables 2024-10-25 11:02:54 +02:00
Nemo D'ACREMONT
95b678fb88
feat: add types for pg for dev 2024-10-25 11:02:30 +02:00
Nemo D'ACREMONT
61667ded6d
feat: use virtual network to connect dockers to db 2024-10-25 11:01:20 +02:00
Martin Eyben
3ac68297b8 update entite association 2024-10-25 10:37:27 +02:00
Nemo D'ACREMONT
5219e470ed
Merge branch 'fix-serial' 2024-10-25 09:58:53 +02:00
Nemo D'ACREMONT
59bb931128
fix: use integer instead of serial for foreign keys in tables 2024-10-25 09:58:41 +02:00
Alessandre Laguierce
4bae8ddbca feat: add postgres dependency 2024-10-25 09:29:35 +02:00
Martin Eyben
3458b36678 add adminer 2024-10-25 09:12:54 +02:00
Alessandre Laguierce
d4745c696d fix: permanent volume 2024-10-25 08:07:03 +02:00
Alessandre Laguierce
73200c9ca3 feat: add docker compose 2024-10-24 22:20:11 +02:00
damien DELPY
b09da4fca0
fix[SQL]: tables.sql now no errors. 2024-10-24 21:50:35 +02:00
damien DELPY
a7b1ed1380
feat[SQL]: more tables. 2024-10-24 21:31:15 +02:00
damien DELPY
d37f031a26
feat[SQL]: foreign keys. 2024-10-24 21:24:53 +02:00