The one and only api for louie
The graphql interface for louie
$ curl http://localhost:3000/api/documents/generate -d @test/data/template-data.json --header "Content-Type: application/json" > document.pdf
Add a local .env
file
MONGODB_CONNECTION=your-mongodb-connection
MONGODB_TJOMMI_COLLECTION=name-for-tjommi-collection
MONGODB_LOGS_COLLECTION=name-for-logs-collection
MONGODB_NAME=mongodb-name
PDF_SERVICE_URL=url-for-generating-pdf
AUTH_CLIENT_ID=auth-client-id
Start the development server
$ npm run dev
- louie-frontend - frontend for the louie services
- louie-template-to-pdf - service for generating pdfs from templates