diff --git a/README.md b/README.md index c0de568d..dc3ab521 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,8 @@ Help this project to continue deliver awesome and unique features with the highe * [Dockerize](https://github.com/iris-contrib/cloud-native-go) * [Community & Support](#-community) * [Blogs](https://iris-go.com/v8/blogs) + - [How to build a file upload form using DropzoneJS and Go](https://dev.to/kataras/dropzonejs--go-series---part-1-474) + - [How to display existing files on server using DropzoneJS and Go](https://dev.to/kataras/dropzonejs--go-series---part-2-4n1) - [Iris Go vs .NET Core Kestrel in terms of HTTP performance](https://hackernoon.com/iris-go-vs-net-core-kestrel-in-terms-of-http-performance-806195dc93d5) - [Go vs .NET Core in terms of HTTP performance](https://medium.com/@kataras/go-vs-net-core-in-terms-of-http-performance-7535a61b67b8) - [Iris, a modular web framework](https://medium.com/@corebreaker/iris-web-cd684b4685c7) diff --git a/_examples/tutorial/dropzonejs/README.md b/_examples/tutorial/dropzonejs/README.md index 3000986a..fcf3e2fe 100644 --- a/_examples/tutorial/dropzonejs/README.md +++ b/_examples/tutorial/dropzonejs/README.md @@ -1,3 +1,10 @@ +# Articles + +- [How to build a file upload form using DropzoneJS and Go](https://dev.to/kataras/dropzonejs--go-series---part-1-474) +- [How to display existing files on server using DropzoneJS and Go](https://dev.to/kataras/dropzonejs--go-series---part-2-4n1) + +# Content + This is the part 1 of 2 in DropzoneJS + Go series. - [Part 1: How to build a file upload form](README.md) @@ -145,7 +152,8 @@ func main() { 7. If file is sent to the page, store the file object to a temporary "file" variable. 8. Move uploaded file to destination based on the uploadsDir+uploaded file's name. -**Run the server** +### Runing the server + Open the terminal at the current project's folder and execute: ```bash diff --git a/_examples/tutorial/dropzonejs/README_PART2.md b/_examples/tutorial/dropzonejs/README_PART2.md index a79ca5c4..c490fb3d 100644 --- a/_examples/tutorial/dropzonejs/README_PART2.md +++ b/_examples/tutorial/dropzonejs/README_PART2.md @@ -1,3 +1,10 @@ +# Articles + +- [How to build a file upload form using DropzoneJS and Go](https://dev.to/kataras/dropzonejs--go-series---part-1-474) +- [How to display existing files on server using DropzoneJS and Go](https://dev.to/kataras/dropzonejs--go-series---part-2-4n1) + +# Content + This is the part 2 of 2 in DropzoneJS + Go series. - [Part 1: How to build a file upload form](README.md) @@ -5,7 +12,7 @@ This is the part 2 of 2 in DropzoneJS + Go series. # DropzoneJS + Go: How to display existing files on server -In this tutorial, we will show you how to display existing files on the server when using DropzoneJs and Go. This tutorial is based on [How to build a file upload form using DropzoneJs and Go](README.md). Make sure you have read it before proceeding to content in this tutorial. +In this tutorial, we will show you how to display existing files on the server when using DropzoneJS and Go. This tutorial is based on [How to build a file upload form using DropzoneJS and Go](README.md). Make sure you have read it before proceeding to content in this tutorial. ## Table Of Content @@ -276,8 +283,8 @@ Copy content below to "./views/upload.html". We will go through modifications in 4. Retrieve files details from the new "/uploads" via ajax. 5. Create mockFile using values from server. mockFile is simply JavaScript objects with properties of name and size. Then we call Dropzone's **addedfile** and **thumbnail** functions explicitly to put existing files to Dropzone upload area and generate its thumbnail. +### Runing the server -**Run the server** Open the terminal at the current project's folder and execute: ```bash