From d103f96e8d3aa20ade1d72bad192097360a62ff4 Mon Sep 17 00:00:00 2001 From: lee Date: Mon, 30 Dec 2019 10:49:01 +0000 Subject: [PATCH] fixing ascii-art-web subjects --- subjects/ascii-art-web-exportfile.en.md | 23 ----------------- .../ascii-art-web-exportfile.en.md | 25 +++++++++++++++++++ .../{ => ascii-art-web}/ascii-art-web.en.md | 14 +++++++---- 3 files changed, 34 insertions(+), 28 deletions(-) delete mode 100644 subjects/ascii-art-web-exportfile.en.md create mode 100644 subjects/ascii-art-web/ascii-art-web-exportfile.en.md rename subjects/{ => ascii-art-web}/ascii-art-web.en.md (58%) diff --git a/subjects/ascii-art-web-exportfile.en.md b/subjects/ascii-art-web-exportfile.en.md deleted file mode 100644 index fe2f55a50..000000000 --- a/subjects/ascii-art-web-exportfile.en.md +++ /dev/null @@ -1,23 +0,0 @@ -## ascii-art-web-export - -### Objectives - -You must follow the same [principles](https://github.com/01-edu/public/ascii-art-web.en.md) as the first subject. - -Ascii-art-web-export consists on making sure that it is possible to export the output of the web application, at least in one export format at your choice. - -- You should be able to export the result of the [ascii-art](https://github.com/01-edu/public/ascii-art.en.md) project implemented in the website. -- The file must be exported with the right permissions (read and write) for the user. - -This project will help you learn about : - -- The basics of export formats : - - Portable Document Format (PDF) - - Text File (TXT) - - [Here are some more exemples](https://en.wikipedia.org/wiki/Document_file_format) -- Ways to receive data. -- Ways to output data. - -### Instructions - -- The web server must export at least in one export format. diff --git a/subjects/ascii-art-web/ascii-art-web-exportfile.en.md b/subjects/ascii-art-web/ascii-art-web-exportfile.en.md new file mode 100644 index 000000000..1de88e045 --- /dev/null +++ b/subjects/ascii-art-web/ascii-art-web-exportfile.en.md @@ -0,0 +1,25 @@ +## ascii-art-web-export + +### Objectives + +You must follow the same [principles](https://github.com/01-edu/public/blob/master/subjects/ascii-art-web/ascii-art-web.en.md) as the first subject. + +Ascii-art-web-export consists on making sure that it is possible to export the output of the web application, at least in one export format at your choice. + +- You should be able to export the result of the [ascii-art](https://github.com/01-edu/public/blob/master/subjects/ascii-art/ascii-art.en.md) project implemented in the website. +- The file must be exported with the right permissions (**read and write**) for the user. + +This project will help you learn about : + +- The basics of export formats : + - Portable Document Format (pdf) + - Text File (txt) + - [Here are some more examples](https://en.wikipedia.org/wiki/Document_file_format) +- Ways to receive data. +- Ways to output data. + +### Instructions + +- The web server must export at least in one export format. +- You must handle website errors. +- The code must respect the [good practices](https://github.com/01-edu/public/blob/master/subjects/good-practices.en.md). diff --git a/subjects/ascii-art-web.en.md b/subjects/ascii-art-web/ascii-art-web.en.md similarity index 58% rename from subjects/ascii-art-web.en.md rename to subjects/ascii-art-web/ascii-art-web.en.md index 80ac0e7b2..95aefc079 100644 --- a/subjects/ascii-art-web.en.md +++ b/subjects/ascii-art-web/ascii-art-web.en.md @@ -4,9 +4,11 @@ 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 your last project, ascii-art. -- You must use your [ascii-art](https://github.com/01-edu/public/subjects/ascii-art.en.md) application for this project. - +- You must use your [ascii-art](https://github.com/01-edu/public/blob/master/subjects/ascii-art/ascii-art.en.md) application for this project. - You can run your server **locally** (localhost) or using an **API**. +- You must use the different [banners](https://github.com/01-edu/public/tree/master/subjects/ascii-art) for the website. +- It should be available to choose between the banners. +- You need to have a well established connection between server and client. This project will help you learn about : @@ -16,14 +18,16 @@ This project will help you learn about : - Server - HTML - HTTP -- Ways to receive data. -- Ways to output data. + - [HTTP methods](https://www.tutorialspoint.com/http/http_methods.htm) + - [HTTP status](https://www.restapitutorial.com/httpstatuscodes.html) +- Ways to receive data +- Ways to output data ### Instructions - You must handle website errors. - The web server must be created in **Go**. -- The code must respect the [good practices](https://github.com/01-edu/public/good-practices.en.md). +- The code must respect the [good practices](https://github.com/01-edu/public/blob/master/subjects/good-practices.en.md). - The project must have files written in **HTML**. ### Usage