Skip to content

Conversation

@Darosss
Copy link
Owner

@Darosss Darosss commented Dec 17, 2023

  • remove unnecesary suffixes in files like (Controller, Route, Util)
  • change controllers, models to structure like:
  • folder
    • /index.ts
    • /types.ts
    • name.ts

- remove suffix Model in ts files
- make them plural
- add folders for each of them
- add index.ts, types.ts and enum.ts where needed
- remove Controller suffix in files
- add folders for each of them
- add index.ts
- add types.ts
- move filters into them

- remove @types/index.ts
- move index from src/auth to controllers/auth/utils.ts
- remove src/auth folder
@Darosss Darosss merged commit 0b3f6e2 into main Dec 17, 2023
@Darosss Darosss deleted the refactor_server_folder_structure branch December 17, 2023 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants