2lambda123 / novom-belenios-api

GNU Affero General Public License v3.0
0 stars 0 forks source link

Belenios API

master is unsafe, please refer to tags.

An api wrapping the belenios-tool command line.

For more information about the Belenios voting system you can refer to this repository Belenios.

Prerequisites

Getting Started

  1. From the project root directory, run yarn to install dependencies.
  2. Add .../dependencies/belenios/_build/install/default/bin to path environment variable.

How To

Run Tests

Deploy

  1. Create a copy of each {stage}.sample.js files to {stage}.sample.js.
  2. Enter the missing information in the setting files.
  3. Run command:

undeploy

Contributing

Never commit directly on master, instead use branches and pull requests.

Once approved, a Pull request is merged in master by its author. Also, it must be squashed before merging, either manually or using GitHub's Squash and merge feature.

You must use the following Style Guides :

This project contains a linting config, you should setup eslint into your IDE with .eslintrc.js.

Known Issues

Please refer to the Issues section if you encounter any problems during development.

Documentation

Technical documentation

For technical documentation refer to doc folder.

API documentation

Once deploy you can go directly to the endpoint and the Apollo Studio will automatically show the latest API doc in pair with a playground.