Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.37 KB

README.md

File metadata and controls

54 lines (34 loc) · 1.37 KB

Invoice Generator

Invoice Generator is an API service built with Encore to create PDF invoices with Maroto V2 based on provided data. This repo was created as example for a blog post about Building an Invoice Generator Service with Encore and Maroto in Go.

Setup

Prerequisites

Installation

Clone the Repository

git clone https://github.com/wawandco/invoice-generator.git
cd invoice-generator

Install Dependencies

go mod tidy

Run the Application

Start the application with Encore:

encore run

And call http://localhost:4000 to use the app's endpoints.

API Endpoints

Generate Invoice

  • Method: POST
  • Path: /generate-invoice
  • Description: Generates a PDF invoice based on the provided data and returns the PDF bytes.

Related Documentation

Copyright

This Repo is Copyright © 2024 Wawandco SAS.

Made with ❤️ at wawand.co