Browse Source

Forum image upload

pull/515/head
OGordoo 5 years ago committed by Christopher Fremond
parent
commit
6d1725b9ee
  1. 35
      subjects/forum/forum-image-upload.audit.en.md
  2. 31
      subjects/forum/forum-image-upload.en.md

35
subjects/forum/forum-image-upload.audit.en.md

@ -0,0 +1,35 @@
#### Functional
##### Try creating a post with a PNG image.
###### Was the post created successfully?
##### Try creating a post with a JPEG image.
###### Was the post created successfully?
##### Try creating a post with a GIF image.
###### Was the post created successfully?
##### If is not restricted, try to create a post with a [large image](https://effigis.com/wp-content/themes/effigis_2014/img/RapidEye_RapidEye_5m_RGB_Altotting_Germany_Agriculture_and_Forestry_2009MAY17_8bits_sub_r_2.jpg). If it is restricted search for image with a size slightly below that limit.
###### Was the post created successfully?
##### Try navigating through the site and come back to one of the created posts.
###### Can you still see the image associated to that post?
#### Basic
###### +Can you create a post with a different image type?
###### +Does the code obey the [good practices](https://public.01-edu.org/subjects/good-practices.en)?
###### +Are the instructions in the website clear?
#### Social
###### +Did you learn anything from this project?
###### +Would you recommend/nominate this program as an example for the rest of the school?

31
subjects/forum/forum-image-upload.en.md

@ -0,0 +1,31 @@
## forum-image-upload
### Objectives
You must follow the same [principles](https://public.01-edu.org/subjects/forum/forum.en) as the first subject.
In forum image upload, registered users have the possibility to create a post containing an image as well as text.
- When viewing the post, users and guests should see the image associated to it.
There are various extensions for images like: JPEG, SVG, PNG, GIF, etc. In this project you have to handle at least JPEG, PNG and GIF types.
This project will help you learn about:
- Image manipulation
- Image types
### Hints
- Be cautious with the size of the images.
### Instructions
- The backend must be written in **Go**.
- You must handle website errors.
- The code must respect the [good practices](https://public.01-edu.org/subjects/good-practices.en)
- It is recommended that the code should present a **test file**.
### Allowed packages
- Only the [standard go](https://golang.org/pkg/) packages are allowed
Loading…
Cancel
Save