44 Commits

Author SHA1 Message Date
Nemo D'ACREMONT
72d04bdab1
feat: add services, controller, routes, types and templates for models 2024-11-17 09:19:51 +01:00
Nemo D'ACREMONT
9a18f9ce11
feat: add headers to template files 2024-11-10 17:15:49 +01:00
Nemo D'ACREMONT
5d4b107a00
feat: add page to list all members 2024-11-10 17:06:59 +01:00
Nemo D'ACREMONT
f5026498b1
fix: fix indent 2024-11-10 17:04:37 +01:00
Nemo D'ACREMONT
3c194f0603
fix: build the backend correctly on npm run start 2024-11-10 16:02:33 +01:00
Nemo D'ACREMONT
4799d2cd34
Merge branch 'refactor-marque' 2024-11-10 15:57:34 +01:00
Nemo D'ACREMONT
35a203c0e5
refactor: move marque sql requests to marque.service, and use default exports 2024-11-10 15:53:25 +01:00
Martin Eyben
035eff019b refactor: two spaces 2024-11-08 12:04:58 +01:00
Nemo D'ACREMONT
b2aac76a2e
feat: add templates and link controllers to routes 2024-11-08 11:52:25 +01:00
Nemo D'ACREMONT
6a173d52f5
feat: add members controllers 2024-11-08 11:51:39 +01:00
Nemo D'ACREMONT
061ec56e72
refactor: use memberService module in controllers 2024-11-08 11:45:42 +01:00
Nemo D'ACREMONT
f1d41e6960
refactor: move db request to member.service.ts 2024-11-08 11:44:26 +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
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
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