Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
29 lines (21 loc) · 1.13 KB

File metadata and controls

executable file
·
29 lines (21 loc) · 1.13 KB

Accessibility Filescan Server

This node.js server accepts PDF files and returns accessibilty information about the file. It is intended to interface with external systems such as Drupal, Moodle, and WordPress to provide information about the accessibility of the files contained in the system.

Requirements

Node.js: [https://nodejs.org/]

Installation

Download this repository Enter the directory and type npm install

Running the server

To run the server, run:

npm start

To view the Swagger UI interface:

open http://localhost:8080/docs

Custom port number

To run using a different port number, set the PORT environmental variable. It is also possible to specify the port and run the code in one line: PORT=9000 npm start

Notes

This server was generated by the swagger-codegen project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub.

This project leverages the mega-awesome swagger-tools middleware which does most all the work.