πFolder Structure
Since Light Able comes with a gulp, it has minor differences in structure but one can pick any one and start making changes, both are totally independent.
βββ πconfigs
βββ πcontrollers
| βββ auth.controller.js
βββ π models
| βββ User.model.js
βββ π public
| βββ π assets
| βββ π css
| βββ π fonts
| βββ π images
| βββ π js
| βββ π json
βββ π routes
| βββ routes.js
βββ π src
| βββ π assets
| βββ π scss
| βββ π fonts
| βββ π images
| βββ π js
| βββ π json
βββ π views
| βββ π auth
| βββ π layout
| βββ π partials
| βββ All .ejs pages
βββ app.js
βββ gulp.js
βββ index.js
βββ package-lock.json
βββ package.json
Light Able NodeJs Folders Structure
πLightable-Node
root:
The main folder of our project.
πconfigs
configs/
All Configuration file can be stored here.
π controllers
controllers/
A Directory for controllers.
π models
models/
All database schema we can store here.
πpublic
public/
All assets including css and js are stored after gulp build.
π routes
routes/
All the routing file are here.
π src
src/
All assets and scss and js is here If you change in these files you should run gulp command again.
π views
views/
All Ejs templates are stored here.
Light Able NodeJs Templates
πindex.ejs
views/index.ejs
Light Able Preview Page.
π application
views/application
All application pages are here. Like Account Profile, Chat, eCommerce, Social Media etc.
π chart
views/chart
All chart pages are here.
π dashboard
views/chart
Dashboard page is here.
π demo
views/chart
All the Demo pages here.
π elements
views/elements
All the alerts, buttons, dropdowns, modals etc. elements files are here.
π forms
views/forms
All the forms those are used in our kit are here.
π layouts
views/layouts
All the layout pages like headers, sidebars, customizer and components are here.
π other
views/other
You can all other pages here.
π pages
views/pages
You can all authentication related pages here.
π table
views/table
All tables used in kit are here.
π ui-kit
views/ui-kit
All UI related pages are here.
π widget
views/widget
All UI widget pages are here.
Last updated