Folder Structure
Use below velzon structure for modify and better understand the Velzon.
1. Velzon Nodejs Folders .
Folder | Path | Uses |
---|---|---|
controllers |
./controllers |
All Controllers files here. |
models |
./models |
All Nodejs models . you can add your custom also |
public |
./public |
After Gulp generated folder. |
routes |
./routes |
You can add new route in Routes/route.js . |
src |
./src |
All Assets or Blade files here. |
app.js |
./app.js |
All Ejs file and Layout's file Connection in this file. if you don't have knowledge about this then don't modify it. |
config.env |
./config.env |
Database Connection string and Athuntication port define in this file. |
webpack.config.js |
./webpack.config.js |
Webpack or Build related code. if you don't have knowledge about this then don't modify it. |
package.json |
./package.json |
All Packges was define in this file . if you don't have knowledge about this then don't modify it. |
File | Path | Uses |
---|---|---|
customizer.ejs |
views/partials/* |
Customizer related code. |
footer.ejs |
views/partials/* |
Footer related code. you can modify as per your requirements. |
head-css.ejs |
views/partials/* |
Common css files placed here. |
layouts-detached.ejs |
views/partials/* |
Detached layout master here. |
layouts-horizontal.ejs |
views/partials/* |
Horizontal layout master. |
layouts-two-column.ejs |
views/partials/* |
Two column layout master. |
layouts-vertical-hovered.ejs |
views/partials/* |
Vertical hovered layout master. |
master.ejs |
views/partials/* |
Default layout master file, you can set html attributes, and change common layouts changing this file. |
master-without-nav.ejs |
views/partials/* |
Auth pages layout. |
sidebar.ejs |
views/partials/* |
Sidebar menus related code, you can add new menu here. |
topbar.ejs |
views/partials/* |
Topbar related code here, you can easily customize topbar from here. |
vendor-scripts.ejs |
views/partials/* |
Common javascript files includes here. |
3. Velzon Nodejs Layouts Files
File | Path | Uses |
---|---|---|
layout.ejs |
views/layouts |
you can use layout.ejs file and easily customize it. |
4. Velzon Nodejs Auth Files
Velzon - Nodejs Admin Dashboard Template is available with MongoDB Authentication.
File | Path | Uses |
---|---|---|
login.ejs |
views/auth |
Login view page code, if you need to customize login you can do from this. |
register.ejs |
views/auth |
Registration page view code. |
auth-404.ejs |
views/auth |
Error 404 page. |
forgotpassword.ejs |
views/auth |
Forget password page. |
resetpassword.ejs |
views/auth |
Password confirmation page. |
v4.*
- Admin
- controllers
- models
- public
- src
- routs
- utils
- views
- app.js
- config.env
- webpack.config.js
- package.json
- package-libs-config.json