-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ed96a07
Showing
5 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
N-Layers [Ressource](https://medium.com/design-microservices-architecture-with-patterns/layered-n-layer-architecture-e15ffdb7fa42) | ||
|
||
database | ||
- a file which store all application data | ||
|
||
src -all source | ||
- entities - object mappings | ||
- factories - instance generators | ||
- repositories - data acess | ||
- routes - endpoint mappings | ||
- services - communication between the routes and repositories layer (business logic) | ||
- util - shared code | ||
- handler - communication between routes and server | ||
|
||
tests -> all automated test suites | ||
- integration tests - testing on the user point of view. it's also an E2E[OpenClassRoom Cours test E2E](https://openclassrooms.com/fr/courses/7159306-testez-vos-applications-front-end-avec-javascript/7332824-realisez-des-tests-end-to-end) test because there's no app consuming it | ||
- unit tests | ||
all tests that must run without any external connections such as databases, external APIs and on our case, the fileSystem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[ | ||
{ | ||
"id": 10, | ||
"name": "Batman", | ||
"age": "50", | ||
"power": "rich" | ||
} | ||
] |
Empty file.
Empty file.