You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project is made in accordance with the requirements of the [following exercice](https://github.com/guardrailsio/full-stack-engineer-challenge)
3
+
## Description
4
+
5
+
This project is made in accordance with the requirements of the [following exercice](https://github.com/guardrailsio/full-stack-engineer-challenge)
6
+
7
+
## Setup
8
+
9
+
Run `docker-compose up` to start the containers. The dashboard is accessible at the following url http://localhost:3000 .
10
+
11
+
## Improvements
12
+
13
+
### For the API
14
+
15
+
-**Scan Service:** We could improve the logic in there to have less random results and maybe have something more sequential ( queued > scanning > result).
16
+
-**Auth:** An Auth service could be added to manage users and their scanning results.
17
+
-**Migrations:** Implementing a migration system for the models with sequelize. There is however an issue with the database access when trying to run migrations from the host.
18
+
19
+
### For the Dashboard
20
+
21
+
-**ScanDetails State Management:** Instead of loading all the data at once from the Dashboard, we could fetch ony the required data for ScanList and then individually fetch the findings only when the corresponding ScanDetails component is diplayed (This is not relevant if the number of findings stays relatively low for each repo).
22
+
-**Error Handling:** The logic for handling axios request and the errors should implemented in a separate file
23
+
24
+
### For Docker
25
+
26
+
-**React HMR:** The HMR does not currently work when the dashboard is running in the container
0 commit comments