@@ -80,51 +80,49 @@ The project is coded using a simple and intuitive structure presented bellow:
8080``` bash
8181< PROJECT ROOT >
8282 |
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
8585 | | -- wsgi.py # Start the app in production
8686 | | -- 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)
8798 | |
8899 | | -- static/
89100 | | | -- < css, JS, images> # CSS files, Javascripts files
90101 | |
91102 | | -- templates/ # Templates used to render pages
92- | |
93103 | | -- includes/ # HTML chunks and components
94104 | | | -- navigation.html # Top menu component
95105 | | | -- sidebar.html # Sidebar component
96106 | | | -- footer.html # App Footer
97107 | | | -- scripts.html # Scripts common to all pages
98108 | |
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
102112 | |
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
120116 | |
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
123121 |
124- | -- requirements.txt # Development modules - SQLite storage
122+ | -- requirements.txt # Development modules - SQLite storage
125123 |
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
128126 |
129127 | -- ************************************************************************
130128```
0 commit comments