GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - InseeFr/lunatic-pdf-api: A lightweight HTTP API powered by Lunatic library to generate PDF reports from questionnaires and collected data.

BranchesTags
Open more actions menu

Latest commit

 

History

235 Commits
235 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
src
src
 
 
.dockerignore
.dockerignore
 
 
.env
.env
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
pnpm-workspace.yaml
pnpm-workspace.yaml
 
 
renovate.json
renovate.json
 
 
sonar-project.properties
sonar-project.properties
 
 
tsconfig.json
tsconfig.json
 
 
vite.config.ts
vite.config.ts
 
 
vitest.config.ts
vitest.config.ts
 
 

Repository files navigation

Lunatic PDF API

This project provides an Express-based API to generate PDF summaries of data collected via web forms, using the Lunatic library. It is designed for seamless integration into web applications that require dynamic, customizable PDF outputs of user-entered data.

✨ Features

  • Generate PDF recaps from Lunatic web survey data.
  • Based on Lunatic library for consistent rendering of survey components.
  • REST API built with Express and TypeScript for reliability and scalability.
  • Easy to integrate into existing web platforms.

🚀 Tech Stack

  • Node.js (Express)
  • TypeScript
  • @inseefr/lunatic for rendering and data handling
  • PDF generation tools integrated with Lunatic models

📦 Installation

# Clone the repository
git clone https://github.com/InseeFr/lunatic-pdf-api.git
cd lunatic-pdf-api

# Install dependencies
pnpm install

🌐 Launch api-server

# launch api on port 8080
pnpm run dev

👩‍💻 Launch pdf preview (minimal React + Vite app)

For development purposes only, read README.

# launch vite app on port 5173
pnpm run dev:preview

🐋 Docker

You can run the docker image: inseefr/lunatic-pdf-api.

The environment variable APPLICATION_SCHEME and APPLICATION_HOST are useful for swagger configuration. (default: http and localhost:8080)

About

A lightweight HTTP API powered by Lunatic library to generate PDF reports from questionnaires and collected data.

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.