Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 815 Bytes

README.md

File metadata and controls

40 lines (24 loc) · 815 Bytes

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;