Skip to content

A simple HTTP server to generate profile cards via a multipart-form.

Notifications You must be signed in to change notification settings

nico-i/profile-card-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(AOE) Profile Card Generator

A simple Go HTTP Server for handling multipart-form POST requests and generating a profile card PDF from the provided data.

Please be advised: This project was merely meant to be an exercise for myself during my introduction to Go and Docker. It is therefore by no means considered a finished project.

Example

Prerequisites

Make sure you have the following installed on your machine:

Installation

  1. Clone the repository
git clone https://github.com/nico-i/profile-card-gen
  1. Navigate to the project directory
cd profile-card-gen
  1. Install all dependencies
go get .
  1. Run the service
go run .
  1. Try it out under localhost:3000

Docker

To run this service inside a docker container, navigate to the project directory and run the following commands.

docker build --tag docker-profile-card-gen .
docker run -p 3000:3000 docker-profile-card-gen

Notes

Currently, the design of the form and card is based on the branding of AOE, but this can be fitted to your individual needs by editing the CSS & HTML files inside the public directory.

Credits

Based upon the following repos/inputs: