Skip to content

AdminLTE 2.3.2 with express, express-handlebars and ReactJS components

License

Notifications You must be signed in to change notification settings

RamEduard/admin-lte-express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

admin-lte-express

AdminLTE 2.3.2 with express, express-handlebars and ReactJS components.

Dashboard V1 Dashboard V2 Dashboard Login Dashboard Register

git clone (Recomended) https://github.com/RamEduard/admin-lte-express.git

Install

npm install admin-lte-express --save

MongoDB

How to install MongoDB Comunity Edition

Runs mongod

Official site - How to runs mongodb

Config on Express App

app.use('/admin', express.static('./node_modules/admin-lte-express/public'))
app.use('/', require('admin-lte-express'));

Generator

./bin/generate Valid options [crud|controller|route|view]

crud
  --name	Name of CRUD. Ex.: crud-user

controller
  --name	Name of controller. Ex.: user

route
  --ctrlFile	Path of controller JS file.
  --name	Route name.
  --view	View to render.

view
  --filename	Path for view file.

Helpers

  • url(routeName, params) returns Path for the routeName
  • activeRoute(routeName) returns ['active'||'']
  • activeRoutes(routeNames) returns ['active'||'']
  • block(name)
  • extend(blockName, context)

Authorization

  • Passport.js
    • Uncomment Lines 72 and 73 for use this auth.
  • Custom Auth express.js (Default)
    • Uncomment Lines 76 and 77 for use this auth.

TODO

  • Authorization with Facebook and Google with Passport.js

License

GPL-3.0

About

AdminLTE 2.3.2 with express, express-handlebars and ReactJS components

Resources

License

Stars

Watchers

Forks

Packages

No packages published