NRK-group / ascii-art-web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASCII-ART-WEB

Ascii art web is a web app that convert the input string to a graphical representation. Currently, the graphiacal representation includes standard, shadow and thinkertoy.

Authors

Ricky Adriell

kkamil

G.Orlandi

Dockerfile Intructions

  1. Download docker
  2. Run the command below in the terminal while inside the repository ascii-art-web to build the docker

$ docker build -t ascii-art-web .

  1. Run the command below in the terminal while inside the repository ascii-art-web to run the docker

$ docker run -p 5500:5500 -it ascii-art-web

or $ docker run -p 5500:5500 -d ascii-art-web to run this container in detached mode (run it permanently in the background)

  1. Visit the localhost:5500

Usage

  1. Select the font of your choice
  2. Type the text you would like to convert
  3. Click the "Generate Art" button
  4. To clear the text input use the backspace key or click the clear button

ascii-art-web

Test Implementation

Run the command below in the terminal to test the error handling, Post end points, Get end points, and Ascii Art function

$ go test .

or $ go test -v

About


Languages

Language:Go 54.3%Language:HTML 24.1%Language:CSS 20.5%Language:Dockerfile 1.1%