/NodeJS-LabelAdminPanel

Free 'Label' Admin Panel developed with Node JS & MYSQL

Primary LanguageCSS

NodeJS-LabelAdminPanel

Free 'Label' Admin Panel developed with Node JS & MYSQL.

BLOG | https://www.gokhandogru.net/jwt-loginregister-panel-node-js-mysql/

Installation

Optimized bcrypt in JavaScript with zero dependencies. Compatible to the C++ bcrypt binding on node.js and also working in the browser.

$ npm install bcryptjs

Parse Cookie header and populate req.cookies with an object keyed by the cookie names. Optionally you may enable signed cookie support by passing a secret string, which assigns req.secret so it may be used by other middleware.

$ npm install cookie-parser

Dotenv is a zero-dependency module that loads environment variables from a .env file into process.env. Storing configuration in the environment separate from code is based on The Twelve-Factor App methodology.

$ npm install dotenv

Express.js view engine for handlebars.js

npm install hbs

An implementation of JSON Web Tokens. This was developed against draft-ietf-oauth-json-web-token-08. It makes use of node-jws

$ npm install jsonwebtoken

Mysql database connection package

$ npm install mysql

Nodemon is a tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected.

npm install -g nodemon

How does work?

It is recommended to run the nodemon with 'npm run start' to be active.

pic2

Images

pic0 pic1