Giter Club home page Giter Club logo

libresign's Introduction

LibreSign

LibreSign is a REST API that is designed to allow front-end apps to embed a esigning workflow. It allows for a document owner to send out a document to multiple users (who aren't required to make an account) and have them sign the document. It also provides webhooks for controlling applications to be notified whenever an event happens.

Running

The easiest way to run a LibreSign server is using docker via docker-compose. This can be done by running the following command in the repository root (the -d parameter is optional and runs the containers in the backend)

docker-compose up -d

This will create a complete LibreSign service. For production uses, the docker-compose-prod.yml file has a different setup that is more suitable for public facing applications. Note that the .env file in the root controls the database username and password, which should be changed when used in a production environment.

To bring down the service, run the following command in the root directory

docker-compose down

API Reference

The LibreSign API is defined using an OpenAPI 2.0 (aka Swagger) spec. This spec can be found here and api docs for the service can be at <service-host>/v1/ui once the service is running. The reference application is deployed at https://sign.kew.ca and thus the API docs are available here.

Configuration

The owner of a business can configure various events and templates for that business. At the moment the following things can be configured:

  • Webhooks to be invoked for each event on a document owned by a user within the business
  • Email templates for document signature reminder requests.

Deployment

The production instance updates automatically new images are passed to the corresponding images within the lend88 docker hub repository. The build.bat file within the root of this repository will build and push the new docker images, and should be straightforward to translate to a shell script if necessary.

Webhooks

LibreSign can be configured with webhooks that will be invoked for each event occurring on a document owned by a user within a business. These will receive a POST request when event occurs. The body of the request will be as follows

TODO

License

Libresign is licensed under the MIT license.

libresign's People

Watchers

James Cloos avatar James Futhey avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.