Skip to content

Web API of Retruco, a software to vote on data items

License

Notifications You must be signed in to change notification settings

retruco/retruco-api

Repository files navigation

Retruco-API

HTTP API to bring out shared positions from argumented statements

Retruco is a software fostering argumentative discussion around statements and allowing to bring out shared positions.

Retruco means immediate, precise and firm response in spanish.

More informations

Retruco-API is currently used by 2 different projects:

Currently, the best way to study Retruco API is to look at the following user interface modules that contain every call to Retruco API:

A Swagger documentations is also available (but may currently contain errors):

Installation

For the first time only:

npm install

Create the database

su - postgres
createuser -D -P -R -S retruco
  Enter password for new role: retruco
  Enter it again: retruco
createdb -E utf-8 -O retruco retruco
psql retruco
  CREATE EXTENSION IF NOT EXISTS pg_trgm;
  \q

Configure the API server

npm run configure

Launch the API server

npm run start

Launch the daemon that handles pending actions

In another terminal:

node process-actions.js

About

Web API of Retruco, a software to vote on data items

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •