1.0.5 • Published 8 years ago

joblocal-employer-signup v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

Landingpage Signup Widget

The Signup Widget provides an easy-to-use fullscreen UI for the employer signup flow. This widget needs access to an API endpoint defined in the corresponding API contract.

Usage

/**
 * Attach the Widget to the DOMNode
 */
JL.EmployerSignup.create('app', {
  signupUrl: 'http://example.com/api/signup'
})
.then(() => {
  console.log('Widget created');
})
.catch((err) => {
  console.error('An error occured: ', err);
});

Dependencies

The embedding page needs to provide the following libraries:

Development

Prerequisites

Ensure you have installed (globally) the following software on your system:

Optionally, you can use yarn as dependency manager

JavaScript Dependencies

Inside your local working copy folder:

$ npm install
$ npm dedupe

Start the Development Server

To start the development server:

$ npm start

Linting

$ npm run lint

Testing

$ npm test