Synto - Node JS Tailwind CSS Admin Dashboard Template

Dashboard
Welcome to Synto - Node JS Tailwind CSS Admin Dashboard Template
  • Updated Date : 15/July/2023
  • Created Date : 25/May/2023
  • Author : Spruko
  • Company : Spruko Technologies Private Limited

Thank you for showing interest towards our admin template. Feel free to contact us any time. We have a dedicated team to provide you the best support. If you want any queries open support ticket https://support.spruko.com.

Introduction
Welcome to Synto – Node JS Tailwind CSS Admin Dashboard Template

Synto - Node JS Tailwind CSS Admin Dashboard Template, With these template formats, it's very easy to create a presence and grab someone's attention around the web page Because the template is built using ejs, CSS3, Tailwind CSS framework and with Sass. So please before you start working with the template take a quick look on the documentation so that you can easily built your website.

If You Love Our Template Design Please don't forgot to rate it. Thank you so much! 😊

Template Description

Synto is a Node JS Tailwind CSS Admin Dashboard Template using modern and minimal design. It is fully flexible user-friendly and responsive. Synto Modern template is powered with ejs, SASS, & Tailwind CSS which looks great on Desktops, Tablets, and Mobile Devices. This Template Includes 130+ ejs Pages . No Need to do hard work for this template customization. We already designed it and you can easily design your website just how you like it. This template is build using Tailwind CSS framework. After Purchased this template you will get All ejs Files,CSS, SCSS and JS Files.

It has super clean flat user interface admin design, easy customizable components and widgets.The Template comes with a awesome unique design also we ensure you can easily design template.

It is a fully responsive layout for all type of devices. Works on all major web browsers, Desktop, iPhone, iPad, Tablet and all other smart phone devices

Once you Purchase Synto Tailwind CSS Admin Dashboard Template, you will be able to get free download of all future updates.

Template Features
Dark Theme Ready RTL Version Boxed Layout
12 Different Dashboards Authentication Pages Error Pages
130+ ejs Pages Easy to Customize Tailwind CSS Framework
Form Elements Draggable Cards Ratings
Tabulator JS Notifications Gallery
Apex Charts Chartjs Charts Echarts
Full Calendar Sweet Alerts Swiper JS
Blog Pages Mail App Chat
File Manager Invoice Landing
Pricing Profile Team
24 * 7 Professional Company Support Ecommerce Pages Under Construction Page
Color Theme Support (Primary and Background) Neat, clean and simple design W3C Validated
Switcher Features
Theme Styles
  • Light & Dark Themes
  • LTR & RTL
  • Vertical & Horizontal Navigation Styles
  • Menu Click & Hover Styles
  • Icon Click & Hover Styles
  • Page Regular & Classic Styles
  • Layout Full Width & Boxed
  • Menu Fixed & Scrollable
  • Header Fixed & Scrollable
  • Sidemenu Closed
  • Icon Text Menu
  • Icon Overlay
  • Detached
  • Double Menu
Theme Colors
  • Menu Light
  • Menu Dark
  • Menu Color
  • Menu Gradient
  • Menu Transparent
  • Header Light
  • Header Dark
  • Header Color
  • Header Gradient
  • Header Transparent
  • Theme Primary
  • Theme Background
  • Menu With Background Images
Minimum Requirements
  • ejs >= "^3.1.9"
  • express >= ^4.18.2
  • express-ejs-layouts >= "^2.5.1"
  • gulp >= "^2.5.1"
  • gulp-postcss >= "^9.0.1"
  • path >= "^4.0.2"
  • http >= "^0.0.1-security"
  • sass >= "^1.62.1"
  • tailwind-clip-path >= "^1.0.0"
  • body-parser >= "^1.20.2"
  • connect-flash >= "^0.1.1"
  • preline >= "^1.8.0"
  • @tailwindcss/forms >= "^0.5.3"
  • tailwindcss >= "^3.3.2"
Over All Folder Structure
        
					├── public/
					|   ├── assets/
					|   |   ├── css
					|   |   ├── iconfonts
					|   |   ├── img
					|   |   ├── js
					|   |   ├── libs
					|   |   └── scss
					├── routers/
					|   ├── router.js/
					├── views
					|   ├── layouts
					|   |   ├── commoncss.ejs
					|   |   ├── commonjs.ejs
					|   |   ├── customcss.ejs
					|   |   ├── customjs.ejs
					|   |   ├── footer.ejs
					|   |   ├── header.ejs
					|   |   ├── header1.ejs
					|   |   ├── landing-alerets.ejs
					|   |   ├── landing-footer.ejs
					|   |   ├── landing-header.ejs
					|   |   ├── landing-header1.ejs
					|   |   ├── landing-sidebar.ejs
					|   |   ├── landing-sidebar1.ejs
					|   |   ├── landing-switcher.ejs
					|   |   ├── landingcss.ejs
					|   |   ├── landingjs.ejs
					|   |   ├── mainjs.ejs
					|   |   ├── search-modal.ejs
					|   |   ├── sidebar.ejs
					|   |   └── switcher.ejs
					|   ├── layout.ejs
					|   ├── layoutsAuth.ejs
					|   ├── layoutsError.ejs
					|   ├── layoutsLan.ejs
					|   └── (130+ .ejs pages)
				    ├── gulpfile.js
				    ├── index.js
				    ├── package-lock.json
				    ├── package.json
				    ├── postcss.config.js
					└── tailwind.config.js
					
				
How to Use Node JS
In order to use Node JS you need to install Node.js in your system

Recommended LTS (long term support) version of Node.js.

Download latest version of node.js from nodejs.org

Install Node.js using .exe downloaded file.

To check your node version, run node -v in a terminal/console window (cmd)

Now you need to install Node Modules in your project folder

1. Go to your project folder and there you will find a file called package.json.

2. Open the file in your editor and make sure that all the dependencies are correct as shown below

  • "@tailwindcss/forms": "^0.5.3",
  • "body-parser": "^1.20.2",
  • "connect-flash": "^0.1.1",
  • "ejs": "^3.1.9",
  • "express": "^4.18.2",
  • "express-ejs-layouts": "^2.5.1",
  • "express-session": "^1.17.3",
  • "gulp": "^4.0.2",
  • "gulp-autoprefixer": "^8.0.0",
  • "gulp-postcss": "^9.0.1",
  • "gulp-sass": "^5.1.0",
  • "http": "^0.0.1-security",
  • "path": "^0.12.7",
  • "preline": "^1.8.0",
  • "sass": "^1.62.1",
  • "tailwindcss": "^3.3.2"

3. And now set your project root path in terminal or command prompt Example: cd C:\Users\my-project and type the below command line.

npm install

4. Wait until all the dependencies are downloaded to your project folder.

5. Now you can see the downloaded folder with the name of node_modules in your project folder.

6. Now in order to Compile Assets

7. Set your project root path and type the below command line.

gulp

Assets Folder Structure

			
				├── public/
				|   ├── assets
				|   |   ├── css
				|   |   ├── iconfonts
				|   |   ├── img
				|   |   ├── js
				|   |   ├── libs
				|   |   └── scss
				├── routers
				├── views
				|   ├── layouts/
				|   ├── layout.ejs
				|   ├── layoutsAuth.ejs
				|   ├── layoutsError.ejs
				|   ├── layoutsLan.ejs
				|   └── pages/ (130+ .ejs files)
				
			
		
How to Create Routers

1. By default router will check for the layout.ejs file. To project the view.

     
		Ex:
				// Dashboard
				app.get('/', function (req, res) {
					res.render('Dashboards/index');
			  	});
																
													

2. If you need to use more than one layout, you can use layout: 'your layout name'.

     
		Ex:	
			// AuthenticationPages

			app.get('/comingsoon', function(req,res){
				res.render('CustomPages/AuthenticationPages/comingsoon', { layout: 'layoutsAuth' });
			})

																								
											
Purpose of a Starter Kit
Introduction to the Nodejs Template Starter Kit:

The Nodejs template starter kit is a resource that helps developers kickstart their Nodejs web development projects by providing a preconfigured and ready-to-use template. It aims to simplify the initial setup and provide a foundation for building Nodejs-based websites or applications.

Purpose of the Nodejs Template Starter Kit:

The purpose of the Nodejs template starter kit is to save developers time and effort by offering a set of prebuilt files and configurations commonly used in Nodejs projects. Instead of starting from scratch, developers can leverage the starter kit to quickly set up a project structure that adheres to best practices and industry standards.

Benefits of Using the Nodejs Template Starter Kit:

The starter kit eliminates the need to set up the basic project structure manually. It provides a well-organized file and folder structure, including commonly used directories for separating code, templates, assets, and configuration files. This allows developers to focus more on implementing business logic rather than spending time on initial setup.
Before using the Nodejs template starter kit, developers should have a basic understanding of Nodejs and web development concepts. Additionally, they should have a web server environment Nodejs installed on their local machines or a hosting server. Familiarity with HTML, CSS, and JavaScript is also beneficial for frontend development aspects.

Starterkit Overview

You can use the Starterkit if you are creating a new project. It will be time-consuming to use the full admin version for a new project as Synto have more than 130 .ejs pages.

We have provided all the pre-build layouts like Sidemenu, Header, Footer and Scripts etc in the Starterkit.

For further information or support regarding the template, please contact us using the provided link.

https://support.spruko.com/
Starterkit Folder Structure
        
				├── public/
				|   ├── assets/
				|   |   ├── css
				|   |   ├── iconfonts
				|   |   ├── img
				|   |   ├── js
				|   |   ├── libs
				|   |   └── scss
				├── routers/
				|   ├── router.js/
				├── views
				|   ├── layouts
				|   |   ├── commoncss.ejs
				|   |   ├── commonjs.ejs
				|   |   ├── footer.ejs
				|   |   ├── header.ejs
				|   |   ├── header1.ejs
				|   |   ├── mainjs.ejs
				|   |   ├── search-modal.ejs
				|   |   ├── sidebar.ejs
				|   |   └── switcher.ejs
				|   ├── layout.ejs
				|   └── ( .ejs pages)
				├── gulpfile.js
				├── index.js
				├── package-lock.json
				├── package.json
				├── postcss.config.js
				└── tailwind.config.js
											
										
  • Take a look at the folder structure of the "Starterkit."
  • Integration of your customized .ejs pages becomes easy when using the "Starterkit."
  • The "Starterkit" provides all the layout components and related assets.
  • To explore the contents of the "Starterkit," unzip the project folder received after purchase.
  • Navigate to the following paths:
  • Example: views/layouts - This folder contains files such as commoncss.ejs, commonjs.ejs, footer.ejs, header.ejs, and sidebar.blade.php, etc.
  • Example: views/ - Add your .ejs pages here if you have more.
How to Run Node JS Project in localhost
Step:1 Quick view of Installations

Download and Install the Node JS from official site https://nodejs.org/

If you have installed Node JS on your machine then please follow the below steps

Step:2 Run project

1. Extract the zip folder of the Node js project in the path: EX: C:\xampp\htdocs\ that you have received after purchase.

2. Now run the below commands in the terminal to get the output of the project.

  • npm install to get the node_modules install.
  • And run the command line: node index.js
  • Node js server started: http://localhost:4211, now type the url in the browser to access the project.
SCSS & CSS

Synto comes with power of SCSS. The css files can be generated from scss by simply following below steps:

  • Gulp

    Gulp is a JavaScipt streaming task runner. It automate many development tasks. Using gulp you can perform tasks like running a local server, minifying code, compilation, Browser sync ,optimizing images, etc... We are using gulp which allows to easily compilation of scss to csss. You can read it more about it here.

Prerequisites

Please follow below steps to install and setup all prerequisites:

  • Nodejs

    Make sure to have the Node.js installed & running in your computer. If you have already installed nodejs on your computer, you can skip this step, otherwise install nodejs on your computer,

    Note : If you are using the latest version of Node JS or want to install and use the latest version, click here and install all the dependencies manually that are given below in command prompt.

  • Gulp

    Make sure to have the Gulp installed & running in your computer. If you have already installed gulp on your computer, you can skip this step. In order to install, just run command npm install -g gulp from your terminal.

  • After Completion of gulp Install. open gulpfile.js And install the "Declaration of gulp variables" in your command promt. In order to install, just run command
    npm install gulp,
    npm install gulp-rename,
    npm install gulp-sass,
    npm install saas,
    npm install gulp-autoprefixer,
    npm install gulp-sourcemaps,
    npm install gulp-clean-css,
    npm install gulp-postcss,
    npm install tailwindcss from your terminal.

    Make sure to have all above prerequisites installed & running in your computer. If you want to install more variables for your template, just declare the variables in gulpfile.js after that run in command promt

Installation

To setup, follow below mentioned steps:

  • Install Prerequisites

    Make sure to have all above prerequisites installed & running in your computer

  • Install Dependencies

    Open your terminal, go to your folder and enter the command npm install. This would install all required dependencies in node_modules folder.

After you finished with above steps, you can run the command to compile scss into css: gulp

Note:- please ensure that you have installed all nodemodules requried to run gulp tasks .

SCSS & CSS

Here we provided package.json and gulpfile.js files in your project, you just need to run npm install in your terminal in your project root path.

After compilation of download, you can compile your SCSS files into CSS files by following below procedure.

Command Description
gulp In Synto template gulp command is used for, whatever the changes made in scss files, will watch and compiled into css files.
Compiling Styles

1. In the assets folder you will see css, iconfonts, images, js, plugins

Folder Structure

          
						├── assets
						|   ├── css  
						|   ├── iconfonts 
						|   ├── img
						|   ├── js
						|   ├── libs
						|   └── scss
					
					
				

2. Now you can compile or customize your styles in scss files that are present in the assets folder.

3. Once the changes made in the files in order to apply those changes to your template you need to run the gulp commands in the same terminal or command prompt that you have set your project root path.

4. After Compilation, all your .scss files are converted into .css.

Version
  • Gulp:- 4.0.2
  • node:- 18.12.1
  • npm :- 8.19.2
SWITCHER?

If you want to remove switcher to your template follow the below process.

FAQ'S

1) How to Change Font Style ?

Step 1:

Go To _fonts.scss (public/assets/scss/style.scss )

if you want to change another font-family Go to the site Google Fonts And Select One font Family and import In to style.css file

How to Select font Family

Example:

Step 2:

And paste Your Selected font-family in _style.scss

Example:

Step 3:

And add the Your Selected font-family in tailwind config file inplace of old font

Example:

	fontFamily: {
		inter: ["Inter", "sans-serif"], //place your font here
	}

	
Step 4:

And add the Your Selected font-family to body that is font-inter in custom.scss file (rootpath :- public/assets/scss/tailwind/_custom.scss) file inplace of old font

Example:

	body {
		@apply bg-bodybg h-full text-gray-600 dark:text-white m-0 font-inter font-normal text-sm relative;
	}

	

Note : After Changing font you must run gulp command i.e, gulp . Refer gulp page for more gulp commands click here.

2) How to Change Logo ?

Go To "public/assets/img/brand" folder and replace your logo with Previous Logos within in image size. note: Please don't increase logo sizes. Replace your logo within given image size. otherwise the logo will not fit in particular place it disturbs the template design.

3) How to Change Menu icons ?

By default menu icons are Remix Icons if you want to change icons please follow below steps
Step 1 :

To change Menu icons, views/layouts/sidebar.ejs page open and go through sidebar section, in that section you will find Remix Icons of menu in i tag, there you can replace previous icon with your icon. Example as shown in below

    
				
				
			
Switcher Styles

Theme Styles

  
	
	
Attribute Description
class="light" To set the light theme
class="dark" To set the Dark theme
dir="ltr" To set LTR version default
dir="rtl" To set LTR version to RTL version
data-nav-layout="vertical" To set menu layout to vertical
data-nav-layout="horizontal" data-nav-style="menu-click" To set menu layout to horizontal
data-nav-style="menu-click" data-toggled="menu-click-closed" To set navigation style to menu click - *Works same for both vertical and horizontal
data-nav-style="menu-hover" data-toggled="menu-hover-closed" To set navigation style to menu hover - *Works same for both vertical and horizontal
data-nav-style="icon-click" data-toggled="icon-click-closed" To set navigation style to icon click - *Works same for both vertical and horizontal
data-nav-style="icon-hover" data-toggled="icon-hover-closed" To set navigation style to icon hover - *Works same for both vertical and horizontal
data-page-style="regular" To set page style to Default
data-page-style="classic" To set page style to Classic
data-width="fullwidth" To set page width to Full Width
data-width="boxed" To set page width to Boxed
data-menu-position="fixed" To set menu position Fixed
data-menu-position="scrollable" To set menu position Scrollable
data-header-position="fixed" To set header position Fixed
data-header-position="scrollable" To set header position Scrollable
data-vertical-style="closed" data-toggled="closed-menu-close" To set sidemenu layout style Closed - *Does not work for horizontal
data-vertical-style="icontext" data-toggled="icon-text-close" To set sidemenu layout style Icon Text - *Does not work for horizontal
data-vertical-style="overlay" data-toggled="icon-overlay-close" To set sidemenu layout style Icon Overlay - *Does not work for horizontal
data-vertical-style="detached" data-toggled="detached-close" To set sidemenu layout style Detached - *Does not work for horizontal
data-vertical-style="doublemenu" data-toggled="double-menu-open" To set sidemenu layout style Double Menu - *Does not work for horizontal

Theme Colors

  
		
	
Attribute Description
data-menu-styles="light" To set the menu style to light
data-menu-styles="dark" To set the menu style to dark
data-menu-styles="color" To set the menu style to color
data-menu-styles="gradient" To set the menu style to gradient
data-menu-styles="transparent" To set the menu style to transparent
data-header-styles="light" To set the header style to light
data-header-styles="dark" To set the header style to dark
data-header-styles="color" To set the header style to color
data-header-styles="gradient" To set the header style to gradient
data-header-styles="transparent" To set the header style to transparent
bg-img="bgimg1" To set menu background image1
bg-img="bgimg2" To set menu background image2
bg-img="bgimg3" To set menu background image3
bg-img="bgimg4" To set menu background image4
bg-img="bgimg5" To set menu background image5
Local Storage

How to clear LocalStorage (cookie)?

Step1:

Open custom-switcher.js file public/assets/js/custom-switcher.js

To clear LocalStorage loading functions you need to remove localStorageBackup() function in custom-switcher.js as shown below


		
			function localStorageBackup() {

			}
		
		
Step2:

To remove complete LocalStorage saving you need to remove all localstorage related calling functions in custom-switcher.js public/assets/js/custom-switcher.js files.

LocalStorage related functions like localStorage.setItem, localStorage.removeItem, localStorage.getItem, localStorage.clear. Below are the some examples to find out.


				localStorage.setItem( );
				localStorage.removeItem( );
				localStorage.getItem( )
				localStorage.clear();
				localStorageBackup();
		
Primary Color

How to Change Primary Color?

Please follow the below steps to change Primary Color
Step 1 :

To change Primary Color you have to open _variables.scss file and replace what color you want as shown in below

Rootpath : _variables.scss (public/assets/scss/_variables.scss )

Note : After Changing styles you must run gulp command i.e, gulp . Refer gulp page for more gulp commands click here.

Dark Theme Style

If you want to change Dark Theme color you need to follow the below process.

How to Change Dark body Color?

Please follow the below steps to change Dark body Color
Step 1 :

To change Dark body Color you have to open _variables.scss file and replace what color you want as shown in below

Rootpath : _variables.scss (public/assets/scss/_variables.scss )

Note : After Changing styles you must run gulp command i.e, gulp . Refer gulp page for more gulp commands click here.

Sources

All plugins runs through npm.

If you want new plugins : Install new plugin from npm then run gulp command.

THANK YOU!