Skip to content

Commit 31c1aba

Browse files
committed
[misc] added some notes in README
1 parent dae5517 commit 31c1aba

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

README.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1-
# GuardRails Technical Test
1+
# GuardRails Technical Test
22

3-
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

Comments
 (0)