dvt32 / mse-2018-web-pdf-generator

A simple web app for generating a PDF file from a specified URL (developed using Spring Boot and microservices).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

web-pdf-generator

A web app for generating a PDF file from a specified URL (developed using Spring Boot, HtmlToPdf, JMS & WebSocket)

How to start

  1. Import the 3 Gradle projects via Eclipse / Spring Tool Suite.
  2. Run "pdf-web", "pdf-service" & "pdf-generator-service" at the same time (the start order doesn't matter)
  3. Start the application through your browser from the URL http://localhost:8000 or http://localhost:8000/pdf-web

How to use

  1. Open http://localhost:8000 or http://localhost:8000/pdf-web through your browser
  2. Enter a valid URL in the input box
  3. Click submit
  4. Wait a few seconds for a notification with a download link (don't close the page)

Notes

  • "pdf-web" works on port 8000
  • "pdf-service" works on port 8100
  • "pdf-generator-service" works on port 8200

To-do

  • Add unit / integration tests
  • Document code

About

A simple web app for generating a PDF file from a specified URL (developed using Spring Boot and microservices).


Languages

Language:Java 85.8%Language:HTML 8.3%Language:JavaScript 5.9%