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
- Properties
- wwwroot
- assets
- ajax
- audio
- 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
- 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
- css
- bootstrap
- bootstrap
- video
- ajax
- assets
- Properties
- Controller
- Model
- views
- Shared
- Shared
cuba
This folder contains all the other files and folders related to the project. Information regarding those folders is given below.
Properties
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
wwwroot
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.
Controller
A controller is used to define and group a set of actions. An action (or action method) is a method on a controller which handles requests. Controllers logically group similar actions together.The Controller in MVC architecture handles any incoming URL request. The Controller is a class, derived from the base class System.Web.Mvc.Controller. Controller class contains public methods called Action methods.
Model
The model classes represents domain-specific data and business logic in the MVC application. It represents the shape of the data as public properties and business logic as methods.It is a business model which presupposes providing computer-based services that give access to applications through the internet or private network.
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.
appsettings.json
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.
Program.cs
This files contains all the routes for different pages.