All Projects → TankerHQ → quickstart-examples

TankerHQ / quickstart-examples

Licence: other
Integration examples of Tanker's client-side encryption SDKs

Programming Languages

javascript
184084 projects - #8 most used programming language
java
68154 projects - #9 most used programming language
objective c
16641 projects - #2 most used programming language
python
139335 projects - #7 most used programming language
CSS
56736 projects
HTML
75241 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to quickstart-examples

sdk-android
Tanker client-side encryption SDK for Android
Stars: ✭ 14 (-17.65%)
Mutual labels:  end-to-end, tanker
Manual Testing
This repository contains the General Test Cases for performing Manual Testing on the Web/Mobile application. It also has Test cases related to API Testing. Templates related to Test Plan and BugBash are also updated.
Stars: ✭ 134 (+688.24%)
Mutual labels:  examples
Redisson Examples
Redisson java examples
Stars: ✭ 218 (+1182.35%)
Mutual labels:  examples
Sphinx Gallery
Sphinx extension for automatic generation of an example gallery
Stars: ✭ 239 (+1305.88%)
Mutual labels:  examples
Sitepoint Source
Source code for my articles on Sitepoint (since March 2015)
Stars: ✭ 223 (+1211.76%)
Mutual labels:  examples
Regex For Regular Folk
🔍💪 Regular Expressions for Regular Folk — A visual, example-based introduction to RegEx [BETA]
Stars: ✭ 242 (+1323.53%)
Mutual labels:  examples
Java Library Examples
💪 example of common used libraries and frameworks, programming required, don't fork man.
Stars: ✭ 204 (+1100%)
Mutual labels:  examples
Examples wxWidgets
Shows how to use wxWidgets controls only by programming code (c++17).
Stars: ✭ 116 (+582.35%)
Mutual labels:  examples
Mlcpp
Set of examples of ML approaches implemented in C++
Stars: ✭ 251 (+1376.47%)
Mutual labels:  examples
Littler
A scripting and command-line front-end for GNU R
Stars: ✭ 238 (+1300%)
Mutual labels:  examples
Wordpress Plugin Boilerplate Tutorial
Tutorials and Examples for WordPress Plugin Boilerplate, a foundation for WordPress Plugin Development.
Stars: ✭ 232 (+1264.71%)
Mutual labels:  examples
Kyaml2go
K8s Go client code generator from Kubernetes resource yamls
Stars: ✭ 226 (+1229.41%)
Mutual labels:  examples
Node.js Design Patterns Third Edition
Node.js Design Patterns Third Edition, published by Packt
Stars: ✭ 239 (+1305.88%)
Mutual labels:  examples
Helloworld Msa
Main repository with documentation and support files
Stars: ✭ 218 (+1182.35%)
Mutual labels:  examples
examples
Examples - aah Go web framework
Stars: ✭ 27 (+58.82%)
Mutual labels:  examples
Rxjava3 Android Examples
RxJava 3 Android Examples - Migration From RxJava 2 to RxJava 3 - How to use RxJava 3 in Android
Stars: ✭ 213 (+1152.94%)
Mutual labels:  examples
Camel Cookbook Examples
Example source code for Apache Camel Developer's Cookbook
Stars: ✭ 232 (+1264.71%)
Mutual labels:  examples
Learningx
Deep & Classical Reinforcement Learning + Machine Learning Examples in Python
Stars: ✭ 241 (+1317.65%)
Mutual labels:  examples
examples
Examples to demonstrate how to use PipeCD
Stars: ✭ 21 (+23.53%)
Mutual labels:  examples
examples
Example code. You probably don't want to use any of this.
Stars: ✭ 33 (+94.12%)
Mutual labels:  examples

Tanker logo

License Platform Last Commit

Integration examples of encryption SDKs

Overview · Prerequisites · Start the server · Run examples · Documentation · License

Overview

Tanker is an open-source client SDK that can be embedded in any application.

It leverages powerful client-side encryption of any type of data, textual or binary, but without performance loss and assuring a seamless end-user experience. No cryptographic skills are required.

This repository features example applications using the JavaScript, iOS, and Android encryption SDKs.

Prerequisites

Setup

Developing on Windows? Click here to display additional instructions.

↡↡↡↡↡↡↡↡↡↡ Windows instructions ↡↡↡↡↡↡↡↡↡↡


On Windows 10 version 1607 or later, the easiest way to run the quickstart examples is by installing the Windows Subsystem for Linux.

Although it is possible to set up a Node.js stack on older Windows versions, the amount of work required is out of the scope of this guide.

Once you have enabled Windows Subsystem for Linux, open a new Command Prompt instance and type the following:

bash

Your Command Prompt instance should now be a Bash instance.

For the record, you can access your Windows C:\ drive at anytime under /mnt/c.

Let's update the repo lists and packages:

sudo apt update -y && sudo apt upgrade -y

Install Node.js:

sudo apt install nodejs

Install Yarn by following the Ubuntu instructions on yarnpkg.com.

↟↟↟↟↟↟↟↟↟↟ Windows instructions ↟↟↟↟↟↟↟↟↟↟


Check your Node.js and Yarn versions, and upgrade if needed:

node -v  # >= 10   (maintained version, not eol)
yarn -v  # >= 1.0  (workspaces support)

We recommend using yarn rather than npm, as it will manage the dependencies of all the applications for you from the root of the repository.

Install the project

Clone this repository:

git clone https://github.com/TankerHQ/quickstart-examples.git

Install all dependencies at once:

cd quickstart-examples && yarn

Create a Tanker App

Use the dashboard and follow the instructions. No account yet? Contact us to get access at https://tanker.io/contact.

Since you are just testing Tanker within demo applications, feel free to enable the test mode.

Once you use Tanker in real production applications, it is imperative to create a new application without activating the test mode.

Configure

Take the JSON configuration file from the previous step and copy it under the config/ folder. Add an authToken key containing the value of the authorization token in the "API credentials" section of the dashboard.

Note that the JSON configuration file can have any name ending with the .json extension and must have the following format:

// e.g. config/app.json
{
    "appId": "...",
    "appSecret": "...",
    "authToken": "..."
}

That's all you need to start the server and applications!

Start the example server

Start the example server in a terminal with:

yarn start:server

The example server provides applications with:

  • a mock auth system
  • an endpoint to retrieve user tokens as needed by the Tanker SDK
  • a couple of routes to upload/download user data

You may also provide the path of a config file explicitely:

yarn start:server --config <path>

Run example applications

Note: before running any of the example applications, don't forget to always start the server first!

Go to the homepage of the example server in your browser:

http://127.0.0.1:8080/

On this page, you will find all the instructions needed to run the example applications.

Documentation

For more details and to go beyond the example applications, please refer to:

License

The Tanker iOS SDK is licensed under the Apache License, version 2.0.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].