Mozilla-Kerala / home-front

Angular 7 Front end for Mozilla Kerala Website
Mozilla Public License 2.0
0 stars 6 forks source link

Folder structure for the application #18

Open gautamkrishnar opened 5 years ago

gautamkrishnar commented 5 years ago

I think we must use the following folder structure for our application:

|-- app
     |-- modules
       |-- home
           |-- [+] components
           |-- [+] pages
           |-- home-routing.module.ts
           |-- home.module.ts
     |-- core
       |-- [+] authentication
       |-- [+] guards
       |-- [+] http
       |-- [+] interceptors
       |-- [+] mocks
       |-- [+] services
       |-- core.module.ts
       |-- ensureModuleLoadedOnceGuard.ts
       |-- logger.service.ts
     |
     |-- shared
          |-- [+] components
          |-- [+] directives
          |-- [+] pipes
     |
     |-- [+] configs
|-- assets
     |-- scss
          |-- [+] partials
          |-- _base.scss
          |-- styles.scss

Made some edits to remove header and footer form core. Credits: https://itnext.io/choosing-a-highly-scalable-folder-structure-in-angular-d987de65ec7

Let me know if you any other suggestions.

gautamkrishnar commented 5 years ago

@riginoommen @symkmr please give your suggestions.