Top

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
    • app
      • Config
        • Boot
          • development.php
          • production.php
          • testing.php
        • App.php
        • Autoload.php
        • Cache.php
        • Constants.php
        • ContentSecurityPolicy.php
        • Cookie.php
        • CURLRequest.php
        • Database.php
        • DocTypes.php
        • Email.php
        • Encryption.php
        • Events.php
        • Exceptions.php
        • Feature.php
        • Filters.php
        • ForeignCharacters.php
        • Format.php
        • Generators.php
        • Honeypot.php
        • Images.php
        • Kint.php
        • Logger.php
        • Migrations.php
        • Mimes.php
        • Modules.php
        • Pager.php
        • Paths.php
        • Publisher.php
        • Routes.php
        • Security.php
        • Toolbar.php
        • UserAgents.php
        • Validation.php
        • View.php
      • Controllers
        • home.php
      • Database
        • Migrations
        • Seeds
      • Filters
      • Helpers
      • Language
        • en
          • validation.php
      • Libraries
      • Models
      • ThirdParty
      • Views
        • Admin
          • animation
            • animate.php
            • AOS.php
            • scroll-reval.php
            • tilt.php
            • wow.php
          • Blog
            • add-post.php
            • blog-single.php
            • blog.php
          • bonus-ui
            • timeline
              • timeline-v-1.php
              • timeline-v-2.php
            • basic-card.php
            • bootstrap-notify.php
            • breadcrumb.php
            • creative-card.php
            • dragable-card.php
            • dropzone.php
            • image-cropper.php
            • modal-animated.php
            • owl-carousel.php
            • pagination.php
            • range-slider.php
            • rating.php
            • ribbons.php
            • scrollable.php
            • sticky.php
            • sweet-alert2.php
            • tabbed-card.php
            • tour.php
            • treetree.php
          • builders
            • button-builder.php
            • form-builder-1.php
            • form-builder-2.php
            • pagebuild.php
          • buttond
            • button-group.php
            • buttons-default.php
            • buttons-edge.php
            • buttons-flat.php
            • raised-button.php
          • charts
            • chart-apex.php
            • chart-flot.php
            • chart-google.php
            • chart-knob.php
            • chart-morris.php
            • chart-peity.php
            • chart-sparkline.php
            • chartjs.php
            • echarts.php
          • chat
            • chat-video.php
            • chat.php
          • dashboard
            • dashboard-02.php
            • dashboard.php
          • ecommerce
            • cart.php
            • checkout.php
            • invoice-template.php
            • list-wish.php
            • order-history.php
            • payment-details.php
            • pricing.php
            • product-page.php
            • product.php
            • products-list.php
          • editors
            • ace-code-editor.php
            • ckeditor.php
            • simple-MDE.php
            • summernote.php
          • email
            • email-application.php
            • email-compose.php
          • forms
            • form-controls
              • base-input.php
              • form-validation.php
              • input-group.php
              • megaoptions.php
              • radio-checkbox-control.php
            • form-layout
              • default-form.php
              • form-wizard-three.php
              • form-wizard-two.php
              • form-wizard.php
            • form-widgets
              • clipboard.php
              • datepicker.php
              • daterangepicker.php
              • datetimepicker.php
              • select2.php
              • switch.php
              • time-picker.php
              • touchspin.php
              • typeahead.php
          • gallery
            • gallery-hover.php
            • gallery-masonry.php
            • gallery-with-description.php
            • gallery-hover.php
            • gallery.php
            • masonry-gallery-with-disc.php
          • icons
            • feather-icon.php
            • flag-icon.php
            • font-awesome.php
            • ico-icon.php
            • themify-icon.php
            • whether-icon.php
          • job-search
            • job-apply.php
            • job-cards-view.php
            • job-details.php
            • job-apply.php
          • layout
            • css.php
            • footer.php
            • header.php
            • master.php
            • script.php
            • sidebar.php
          • learning
            • learning-detailed.php
            • learning-list-view.php
          • maps
            • map-js.php
            • vector-map.php
          • others
            • authentication
              • forget-password.php
              • login_one.php
              • login_two.php
              • login-bs-tt-validation.php
              • login-bs-validation.php
              • login-sa-validation.php
              • login.php
              • maintenance.php
              • reset-password.php
              • sign-up-one.php
              • sign-up-two.php
              • sign-up-wizard.php
              • sign-up.php
              • unlock.php
            • coming-soon
              • comingsoon-bg-img.php
              • comingsoon-bg-video.php
              • comingsoon.php
            • email-templates
              • layout-email
                • master.php
              • basic-template.php
              • ecommerce-templates.php
              • email-header.php
              • email-order-success.php
              • template-email-2.php
              • template-email.php
            • error-page
              • error-400.php
              • error-401.php
              • error-403.php
              • error-404.php
              • error-500.php
              • error-503.php
            • layout
              • default-form.php
            • layout
              • css.php
              • master.php
              • script.php
          • page-layout
            • layout
              • css.php
              • header.php
              • master.php
              • script.php
              • sidebar.php
            • box-layout.php
            • footer-dark.php
            • footer-fixed.php
            • footer-light.php
            • hide-on-scroll.php
            • layout-dark.php
            • rlt-layout.php
          • project
            • projectcreate.php
            • projects-list.php
          • tables
            • bootstrap-tables
              • bootstrap-basic-table.php
              • bootstrap-border-table.php
              • bootstrap-sizing-table.php
              • bootstrap-styling-table.php
              • table-components.php
            • data-tables
              • datatable-advance.php
              • datatable-AJAX.php
              • datatable-API.php
              • datatable-basic.php
              • datatable-data-source.php
              • datatable-plugin.php
              • datatable-data-source.php
              • datatable-server-side.php
              • datatable-styling.php
            • ex-data-tables
              • datatable-ext-autofill.php
              • datatable-ext-basic-button.php
              • datatable-ext-col-reorder.php
              • datatable-ext-fixed-header.php
              • datatable-ext-html-5-data-export.php
              • datatable-ext-key-table.php
              • datatable-ext-responsive.php
              • datatable-ext-row-reorder.php
              • datatable-ext-scroller.php
            • jsgrid-table.php
          • ui-kits
            • tab
              • tab-bootstrap.php
              • tab-material.php
            • according.php
            • alert.php
            • avatars.php
            • box-shadow.php
            • dropdown.php
            • grid.php
            • helper-classes.php
            • list.php
            • loader.php
            • modal.php
            • popover.php
            • progress-bar.php
            • state-color.php
            • tag-pills.php
            • tooltip.php
            • typography.php
          • users
            • edit-profile.php
            • user-cards.php
            • user-profile.php
          • widgets
            • chart-widget.php
            • general-widget.php
          • bookmark.php
          • calender-basic.php
          • contacts.php
          • faq.php
          • file-manager.php
          • internationalization.php
          • kanban.php
          • knowledgebase.php
          • landing-page.php
          • sample-page.php
          • search.php
          • social-app.php
          • support-ticket.php
          • task.php
          • to-do.php
        • errors
          • cli
            • error_404.php
          • html
            • error_exception.php
        • Starter-kit
          • color-version
            • layout-dark.php
            • layout-light.php
          • footers
            • layout-footer
              • css.php
              • header.php
              • master.php
              • script.php
              • sidebar.php
            • footer-dark.php
            • footer-fixed.php
            • footer-light.php
          • layout
            • css.php
            • footer.php
            • header.php
            • master.php
            • script.php
            • sidebar.php
          • Page layout
            • boxed.php
            • layout-rtl.php
          • hide-on-scroll.php
        • welcome_message.php
      • .htaccess
      • Common.php
      • index.html
    • public
      • assets
        • ajax
          • api.txt
          • arrays.txt
          • object_nested.txt
          • object.txt
          • orthogonal.txt
          • post.txt
          • server-processing.txt
        • audio
          • horse.ogg
        • css
          • venders
          • button-builder.css
          • color-1.css
          • color-2.css
          • color-3.css
          • color-4.css
          • color-5.css
          • color-6.css
          • font-awesome.css
          • responsive.css
          • style.css
        • fonts
          • calendar
          • feather
          • flag-icon
          • font-awesome
          • ico
          • summernote
          • themify
        • images
          • appointment
          • avtar
          • banner
          • big-lightgallry
          • big-masonry
          • blog
          • button_builder
          • calender
          • checkout
          • dashboard
          • dashboard
          • dashboard-2
          • ecommerce
          • email
          • email-template
          • faq
          • job-search
          • knowledgebase
          • landing
          • lightgallry
          • logo
          • masonry
          • notification
          • other-images
          • product
          • range-slider
          • slider
          • slider-auto-width
          • social-app
          • svg-icon
          • tree
          • user
          • cuba-logo1.png
          • details_open.png
          • favicon.png
          • hour.svg
          • js-grid.png
          • min.svg
          • sec.svg
          • smiley.png
          • sort_asc_disabled.png
          • sort_asc.png
          • sort_both.png
          • sort_desc_disabled.png
          • sort_desc.png
          • user.jpg
        • js
          • animation
          • bookmark
          • bootstrap
          • button-builder
          • calendar
          • chart
          • clipboard
          • contacts
          • counter
          • custom-card
          • dashboard
          • datatable
          • datepicker
          • dist
          • dragable
          • drilldown
          • dropzone
          • editor
          • form-builder
          • form-wizard
          • icons
          • image-cropper
          • internationalization
          • jarallax_libs
          • jkanban
          • jsgrid
          • map-js
          • notify
          • owlcarousel
          • page-builder
          • photoswipe
          • prism
          • range-slider
          • rating
          • scrollable
          • scrollbar
          • select2
          • sticky
          • sweet-alert
          • task
          • theme-customizer
          • time-picker
          • timeline
          • todo
          • touchspin
          • tour
          • tree
          • typeahead
          • typeahead-search
          • vector-map
          • button-tooltip-custom.js
          • chart-widget.js
          • comapct-menu.js
          • config.js
          • countdown.js
          • ecommerce.js
          • email-app.js
          • form-validation-custom.js
          • fullscreen.js
          • general-widget.js
          • height-equal.js
          • hide-on-scroll.js
          • isotope.pkgd.js
          • jquery-3.6.0.min.js
          • jquery.ui.min.js
          • landing_sticky.js
          • landing.js
          • login.js
          • masonry-gallery.js
          • modal-animated.js
          • modernizr.js
          • popover-custom.js
          • print.js
          • product-list-custom.js
          • product-tab.js
          • radial-chart-tooltip.js
          • script.js
          • scrollpy_landing.js
          • sidebar-menu.js
          • support-ticket-custom.js
          • tooltip-init.js
          • vertical-menu.js
        • json
          • datatable-extension
          • airports.json
          • German.json
          • server-side.json
        • pug
          • components
          • pages
        • scss
          • base
          • components
          • layout
          • pages
          • themes
          • utils
          • vendors
          • button-builder.scss
          • color-1.scss
          • color-2.scss
          • color-3.scss
          • color-4.scss
          • color-5.scss
          • color-6.scss
          • responsive.scss
          • style.scss
        • video
          • auth-bg.mp4
      • .htaccess
      • favicon.ico
      • index.php
      • robots.txt
    • tests
      • _support
      • database
      • session
      • unit
      • README.md
    • writable
      • cache
      • debugbar
      • logs
      • session
      • upload
      • .htaccess
  • .gitignore
  • builds
  • composer.json
  • composer.lock
  • .env
  • LICENSE
  • phpunit.xml.dist
  • preload.php
  • README.md
  • spark

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.

Layout

This is the main layout folder where we included all the css and js for our project. managing extends view becomes more easier.

routes.php

This files contains all the routes for different pages.