Node Folder Structure
Refer this page to understand the folder structure of our project, so that you can navigate and make changes in the project easily.
- Cuba
- bin
- public
- assets
- ajax
- audio
- css
- vendors
- bootstrap
- bootstrap
- vendors
- fonts
- calendar
- feather
- flag-icon
- font-awesome
- ico
- ionic-icon
- material-design-icon
- pe7-icon
- simple-line-icon
- summernote
- themify
- typicon-icon
- images
- appointment
- avtar
- banner
- big-lightgallry
- big-masonry
- blog
- button_builder
- calender
- checkout
- dashboard
- dashboard-2
- ecommerce
- email-template
- faq
- job-search
- landing
- lightgallry
- logo
- masonry
- notification
- other-images
- product
- range-slider
- sidebar-image
- sidebar-pattern
- slider
- slider-auto-width
- social-app
- tree
- user
- user-card
- welcome
- js
- animation
- aos
- scroll-reveal
- tilt
- wow
- aos
- bookmark
- bootstrap
- button-builder
- calendar
- chart
- apex-chart
- chartist
- chartjs
- flot-chart
- google
- knob
- morris-chart
- peity-chart
- sparkline
- apex-chart
- clipboard
- contacts
- counter
- custom-card
- dashboard
- datatable
- datatable-extension
- datatables
- datatable-extension
- datepicker
- date-picker
- daterange-picker
- date-time-picker
- date-picker
- dragable
- drilldown
- dropzone
- editor
- ace-editor
- ckeditor
- adapters
- lang
- plugins
- skins
- adapters
- simple-mde
- summernote
- ace-editor
- form-builder
- form-builder-1
- form-builder-2
- form-builder-1
- form-wizard
- icons
- feather-icon
- feather-icon
- image-cropper
- internationalization
- jarallax_libs
- jsgrid
- map-js
- notify
- owlcarousel
- page-builder
- lang
- skins
- photoswipe
- prism
- range-slider
- rating
- scrollable
- select2
- sticky
- sweet-alert
- task
- theme-customizer
- timeline
- timeline-v-1
- timeline-v-2
- timeline-v-1
- time-picker
- todo
- touchspin
- tour
- tree
- typeahead
- data
- vector-map
- map
- animation
- json
- datatable-extension
- datatable-extension
- scss
- base
- components
- layout
- pages
- themes
- utils
- vendors
- chartist
- feather-icon
- flag-icon
- font-awesome
- icoicon
- image-cropper
- ionic-icon
- page-builder
- scrollable
- select2
- simple-line-icon
- simple-mde
- sticky
- summernote
- svg-icon
- sweetalert2-master
- themify
- time-picker
- todo
- tour
- tree
- typicon-icon
- vector-map
- whether-icon
- chartist
- base
- video
- ajax
- assets
- bin
- routes
- views
- partials
- partials
bin/www.js
This file contains the code which is responsible for running the server, it imports the app from the init file in the cuba folder and runs the server by using it
cuba
This folder contains all the other files and folders related to the project. Information regarding those folders is given below.
public
Apart from the html we require many other files to make our website more interative and attractive. These type of files are stored in this folder. It contains all the scss files , images, and the javascript files. We recommend you keep the name of the folder "public" as it is saved as the default path in the node for accessing the public files.
views
Similar to the public file, "views " is saved as the default folder name from where the ejs files will be accessed. So we advice that you do not change the name of this folder as well. This folder contains all the ejs files, if you need to make changes in the ejs, you will have to find that file in this folder.
app.js
This is the main settings file where we configure all the settings for our project. When we import any external package,for example: 'var cookieParser = require('cookie-parser');', we will initialize the package in this file. This way managing package becomes more easier.
routes.js
This files contains all the routes for different pages.