28 Commits

Author SHA1 Message Date
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
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
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
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
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
Alessandre Laguierce
4bae8ddbca feat: add postgres dependency 2024-10-25 09:29:35 +02:00
Alessandre Laguierce
73200c9ca3 feat: add docker compose 2024-10-24 22:20:11 +02:00
Alessandre Laguierce
fdcb2bda88 feat: begin back end 2024-10-23 15:55:36 +02:00