Skip to content

POC implementing login and registration using passport authentication module and MySQL

Notifications You must be signed in to change notification settings

mithunsasidharan/Node.js-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple Node.js application implementing user registration and login using passport and node-mysql libraries.

To start with once you clone the repository, run below command from the root of the application to install all dependencies and libraries.:

  npm install

You could also run the command :

  npm install package.json

Do install the mysql dependency using the command :

  npm install mysql

You could also include the same into package.json.

To restore the db, use the dump file node.sql and restore the database using the following command :

   mysql -u root -p[root_password] [database_name] < node.sql

Make sure you have create a database with the name node :

  mysql -u [username] -p [password]

  mysql> create database node;

About

POC implementing login and registration using passport authentication module and MySQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published