muratovdias / ascii-art-web

Ascii-art-web consists in creating and running a server, in which it will be possible to use a web GUI (graphical user interface) version of my project - ascii-art.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASCII-ART-WEB

Objectives

Ascii-art-web is a program whose purpose is to create and run a server on which the web version of the Ascii-art program can be used.

Ascii-art is a program which consists in receiving a string as an argument and outputting the string in a graphic representation using ASCII.

What we mean by a graphic representation using ASCII, is to write the string received using ASCII characters, as you can see in the example below:

_|                _| _|                                                     _|       _| 
_|_|_|     _|_|   _| _|   _|_|         _|      _|      _|   _|_|   _|  _|_| _|   _|_|_| 
_|    _| _|_|_|_| _| _| _|    _|       _|      _|      _| _|    _| _|_|     _| _|    _| 
_|    _| _|       _| _| _|    _|         _|  _|  _|  _|   _|    _| _|       _| _|    _| 
_|    _|   _|_|_| _| _|   _|_|             _|      _|       _|_|   _|       _|   _|_|_| 

Basic requirements:

  • You must use your ascii-art application for this project.
  • You can run your server locally (localhost) or using an API.
  • You must use the different banners for the website.
  • It should be available to choose between the banners.
  • You have to use the right HTTP methods.
  • You need to have a well established connection between server and client.

This project will help you learn about :

  • Client utilities.
  • Back-end and front-end.
  • The basics of web :
    • Server
    • HTML
    • HTTP
    • HTTP methods
    • HTTP status
  • Ways to receive data
  • Ways to output data

Instructions

  • You must handle website errors(400, 404 and 500).
  • The web server must be created in Go.
  • The code must respect the good practices.
  • The project must have files written in HTML and CSS.

The program is launched in the following order:

go run main.go

After launching the program, a notification will be issued that the server has started. For further work, follow the link provided on the console:

Starting server at port 8080
http://localhost:8080/

Next, our web version of the Ascii-art project will be available to you...

alt text

About

Ascii-art-web consists in creating and running a server, in which it will be possible to use a web GUI (graphical user interface) version of my project - ascii-art.


Languages

Language:Go 43.7%Language:HTML 28.4%Language:CSS 25.0%Language:Dockerfile 2.9%