Sign inSign up

xritik/invoice-generator

By xritik

•Updated about 1 year ago

Image
0

1.2K

xritik/invoice-generator repository overview

⁠Invoice Generator - Docker Image

This Docker image provides a production-ready container for an Invoice Generator application built with React.js (frontend) and Node.js/Express (backend).
Users can fill invoice details in a form, and the application generates a downloadable PDF invoice using pdf-lib⁠.

The setup uses a multi-stage Docker build:

  • Stage 1: Builds and optimizes the React frontend.
  • Stage 2: Sets up the Node.js backend, serving both API endpoints and the frontend build.

⁠Features

  • ✅ Single container for frontend + backend
  • ✅ Production build optimized with multi-stage Dockerfile
  • ✅ Invoice PDF generation with dynamic data
  • ✅ Serves React frontend from Express backend
  • ✅ Ready for deployment on Docker, Kubernetes, AWS, or any cloud platform

⁠Running the Container

⁠1. Pull the image from Docker Hub
docker pull xritik/invoice-generator:latest
⁠1. Run a container using this Docker Image
docker run -d -p 5000:5000 --name invoice-generator-app xritik/invoice-generator:latest

Tag summary

Content type

Image

Digest

sha256:56b30db13…

Size

395 MB

Last updated

about 1 year ago

docker pull xritik/invoice-generator