@@ -80,51 +80,49 @@ The project is coded using a simple and intuitive structure presented bellow:
80
80
``` bash
81
81
< PROJECT ROOT >
82
82
|
83
- | -- core/ # Implements app logic and serve the static assets
84
- | | -- settings.py # Django app bootstrapper
83
+ | -- core/ # Implements app configuration
84
+ | | -- settings.py # Defines Global Settings
85
85
| | -- wsgi.py # Start the app in production
86
86
| | -- urls.py # Define URLs served by all apps/nodes
87
+ |
88
+ | -- apps/
89
+ | |
90
+ | | -- home/ # A simple app that serve HTML files
91
+ | | | -- views.py # Serve HTML pages for authenticated users
92
+ | | | -- urls.py # Define some super simple routes
93
+ | |
94
+ | | -- authentication/ # Handles auth routes (login and register)
95
+ | | | -- urls.py # Define authentication routes
96
+ | | | -- views.py # Handles login and registration
97
+ | | | -- forms.py # Define auth forms (login and register)
87
98
| |
88
99
| | -- static/
89
100
| | | -- < css, JS, images> # CSS files, Javascripts files
90
101
| |
91
102
| | -- templates/ # Templates used to render pages
92
- | |
93
103
| | -- includes/ # HTML chunks and components
94
104
| | | -- navigation.html # Top menu component
95
105
| | | -- sidebar.html # Sidebar component
96
106
| | | -- footer.html # App Footer
97
107
| | | -- scripts.html # Scripts common to all pages
98
108
| |
99
- | | -- layouts/ # Master pages
100
- | | | -- base-fullscreen.html # Used by Authentication pages
101
- | | | -- base.html # Used by common pages
109
+ | | -- layouts/ # Master pages
110
+ | | | -- base-fullscreen.html # Used by Authentication pages
111
+ | | | -- base.html # Used by common pages
102
112
| |
103
- | | -- accounts/ # Authentication pages
104
- | | | -- login.html # Login page
105
- | | | -- register.html # Register page
106
- | |
107
- | index.html # The default page
108
- | page-404.html # Error 404 page
109
- | page-500.html # Error 404 page
110
- | * .html # All other HTML pages
111
- |
112
- | -- apps/
113
- | | -- authentication/ # Handles auth routes (login and register)
114
- | | |
115
- | | | -- urls.py # Define authentication routes
116
- | | | -- views.py # Handles login and registration
117
- | | | -- forms.py # Define auth forms
118
- | |
119
- | | -- app/ # A simple app that serve HTML files
113
+ | | -- accounts/ # Authentication pages
114
+ | | | -- login.html # Login page
115
+ | | | -- register.html # Register page
120
116
| |
121
- | | -- views.py # Serve HTML pages for authenticated users
122
- | | -- urls.py # Define some super simple routes
117
+ | | -- home/ # UI Kit Pages
118
+ | | -- index.html # Index page
119
+ | | -- 404-page.html # 404 page
120
+ | | -- * .html # All other pages
123
121
|
124
- | -- requirements.txt # Development modules - SQLite storage
122
+ | -- requirements.txt # Development modules - SQLite storage
125
123
|
126
- | -- .env # Inject Configuration via Environment
127
- | -- manage.py # Start the app - Django default start script
124
+ | -- .env # Inject Configuration via Environment
125
+ | -- manage.py # Start the app - Django default start script
128
126
|
129
127
| -- ************************************************************************
130
128
```
0 commit comments