@@ -22,16 +22,23 @@ The Back end application used the hexagonal architecture (also known as *Ports a
2222
2323## Technology
2424
25- * Languages: TypeScript/Java
26- * Front end: Angular - Single page application (SPA)
27- * Back end: Spring Boot - Restful webserver
28- * Build: maven + npm
29- * Deploy: docker
25+ * Languages: ` TypeScript/Java `
3026
27+ * Front end: ` Angular - Single page application (SPA) `
3128
32- * Package: fr.istic.gm.weplan
33- * Artifact: we-plan
34- * Server artifact: we-plan-server
29+ * Back end: ` Spring Boot - Restful webserver `
30+
31+ * Build: ` maven + npm `
32+
33+ * Deploy: ` docker `
34+
35+ ## Package
36+
37+ * Package: ` fr.istic.gm.weplan `
38+
39+ * Artifact: ` we-plan `
40+
41+ * Server artifact: ` we-plan-server `
3542
3643## Modules
3744
@@ -64,6 +71,28 @@ Maven will also build the front application and the docker image.
6471
6572 mvn install -DskipTests
6673
74+ ### Troubleshooting
75+
76+ If build failed because it doesn't found domain / infra / front library:
77+
78+ cd domain
79+ mvn install -DskipTests
80+ cd ../infra
81+ mvn install -DskipTests
82+ cd ../front
83+ mvn install -DskipTests
84+ cd ..
85+ mvn install -DskipTests
86+
87+ If the front failed to build with this error:
88+
89+ [ERROR] npm ERR! code MODULE_NOT_FOUND
90+ [ERROR] npm ERR! Cannot find module 'call-limit'
91+
92+ you need to manually install call-limit module (not globally)
93+
94+ npm install call-limit
95+
6796### Build docker image
6897
6998 mvn package -DskipTests
@@ -125,6 +154,7 @@ We use a KANBAN board to manage the project.
125154- [X] Use an angular front library which implement Material Design
126155- [X] Create some view like login, register, user's profile, user's preference and events list
127156- [X] Develop an authentication management
157+ - [X] Develop a mock api for development tests: ` npm run stub `
128158
129159### Features todo
130160
@@ -138,4 +168,4 @@ We use a KANBAN board to manage the project.
138168- [ ] Add ssl support
139169- [ ] Switch authentication to JWT token
140170- [ ] Add errors messages to the front
141- - [ ] Add websocket event api support to the front
171+ - [ ] Add websocket event api support to the front
0 commit comments