Skip to content
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.

A simple web app showing the basic use cases of the ZeroKit SDK and the sample backend

License

Notifications You must be signed in to change notification settings

tresorit/ZeroKit-Web-Sample

Repository files navigation

Notice: This project is discontinued and no longer maintained nor supported by Tresorit. This repository only exists for archival purposes.


ZeroKit Web Sample

This repository is a template of a basic example application that shows you how to use ZeroKit for zero knowledge authentication and end-to-end encryption.

It makes use of the ZeroKit sample backend

Supported browsers

We recommend to use the latest Chrome or Firefox for testing. A full list of supported browsers:

  • Chrome 38+
  • Firefox 35.0+
  • Microsoft Edge (25.10586+)
  • Safari 8+
  • Internet Explorer 11

Setting up the example application

  • Make sure you have the Example backend up and running, if not please see 2.1 Node.js backend sample
  • Download the example from the management portal or from GitHub
  • Edit config.js: You need to set the server url to where you set the example backend up. By default it's set for a backend running locally, on port 3000.
  • Serve the application: you have multiple options here:
    • If you have Node.js installed you should:

      1. install express by: npm install express
      2. run the server by: node server.js

      This will start serving the example application on port 3002.

    • If you have python installed you can run: python -m SimpleHttpServer 3002

  • Navigate to http://localhost:3002/ and try it out.

About

A simple web app showing the basic use cases of the ZeroKit SDK and the sample backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published