📂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

File/Folder
Path
Description

📂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

File
Path
Description

🗄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