gm50x/pripyat

Improve organization file

Opened this issue · 1 comments

The objective of the project was clear.

I had a little difficulty finding myself in the middle of the archives. I believe that we can improve the way we meet a little.

As it was a small project I knew how to understand it, but if it was a very big project (monolict) I believe we would have a difficulty navigating the modules.

I propose the following change:

Separate file responsibilities by pages.
For Example:
src/

  • routes
  • services
  • other contexts...

Segment the file nomenclature as follows:
action.module

GetAllSample.service.js
Sample.route.js

image

Disregard the part of separating the module contexts per page as this implementation is applied in another branch

Just consider my consideration in improving the file design

action.module

Example:

SampleCreateAndReturnAnObject.service.js