Read Vapor documentation, post File upload using Vapor 4, book Practical Server Side Swift to make a web page for geometrizing images which shares server and code with Telegram bot Geometrizebot.

I am going change the page using AJAX with help of AJAX calls using Vapor 4.