menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Technology News

>

You Don't ...
source image

Hackernoon

1w

read

89

img
dot

Image Credit: Hackernoon

You Don't Need a Lot of Code to Build a Web File Manager

  • Uploading and download files in web browser is a common task in virtually any web application or service.
  • This article shows how to do this with very little coding - in less than 100 lines of code.
  • The database used is PostgreSQL, and the web server is Nginx.
  • You will use Gliimly as an application server and the programming language.
  • Assuming your currently logged-on Linux user will own the application, create a source code directory and also create Gliimly application named 'file-manager'
  • Finally, create source Gliimly files. First create 'start.gliim' file and copy and paste.
  • Next, create PostgreSQL database named 'dbfilemanager'
  • Create database configuration file used by Gliimly that describes the database (it's a file 'db')
  • Create SQL table that will hold files currently stored on the server.
  • Make the application:
    gg -q --db=postgres:db
    Run your application server:
    mgrg file-manager

Read Full Article

like

5 Likes

For uninterrupted reading, download the app