A module for implementing different login capabilities to node.js applications
- git clone git@bitbucket.org:wmtp/wmt-login.git
- Run 'npm install'
The module uses Typescript compiler (TSC) to compile the source code. To build the project run the following command:
- npm run build
You can install the module into your own node.js project as a dependency. For testing purposes you can install using the following command:
- npm install /absolute/path/to/modules/directory
- i.e. -> npm install /Users/jclark/Documents/WorkProjects/custom-node-modules/wmt-login
Once you have the module installed you can import exported functions into your code like so:
import LogInWithPin from 'wmt-login'
You can view the React Docs by entering the following command:
- npm start
This will start a development server on localhost:6060 showing all the properties for the Hello World module
This project is licensed under the MIT License.