vevcom / projectNext

Project Next is Omegas new website coming soon
MIT License
7 stars 0 forks source link

Refactor/folder names #302

Closed Paulijuz closed 2 weeks ago

Paulijuz commented 3 weeks ago

This PR simply renames three folder.

server has become services as after viewing several next js projects it seems that this is the most common name for this type of design pattern. A so called "service layer".

components has become _components so that it (1) is easier to find (it'll be at the top of the app folder now), (2) next js will not treat it as a route (not that that'll ever be a problem since there never should be a file named page.tsx in there anyways), and (3) it's clearer that it's not a route since its name is different from everything else in that folder.

context has become contexts. This is just because it annoyed me that all the other folders in src except this were plural.

Feel free to disagree, but these are just folder names so shouldn't matter too much. \:)