Installing User Manager

In order to start working with User Manager, you need to:

  1. Include the necessary JS and CSS files into an HTML;
  2. Call the object constructor.

Files to Include

You need to include 4 files on a page:

<html>
 <head>
  <!-- Webix Library -->
  <script src="codebase/webix.js" type="text/javascript"></script>
  <link rel="stylesheet" href="codebase/webix.css" type="text/css">
 
  <!-- User Manager -->
  <script type="text/javascript" src="codebase/usermanager.js"></script>
  <link rel="stylesheet" href="codebase/usermanager.css" type="text/css">
 </head>
 <body>
    <!-- User Manager constructor -->
    <script>
        webix.ui({
            view:"usermanager", url:"remote/data"
        });
</script> </body> </html>

Read the next chapter to learn more ways of creating User Manager on a page.

Staring a Backend Server

Using Golang Backend

To get the Golang backend for User Manager, clone the repo and start it locally as:

go build
 
# bash
./usermanager
 
#cmd
usermanager

Running Package Samples Locally

To run package samples on a local machine you should navigate to the User Manager root folder, install the necessary dependencies and start a development server as:

// navigate to the root folder
cd users
 
// install dependencies
yarn install //or npm install
 
// start dev server
yarn server //or npm run server
Back to top