Skip to content

Encore service to generate invoices using Maroto V2

Notifications You must be signed in to change notification settings

wawandco/invoice-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Encore service to generate invoices using Maroto V2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages