This solution is for those who have devices on different platforms (Android, iOS, Windows, Mac) and
you need to transfer files between them from time to time (for me this was a headache).
By launching the program from the builds
folder, you will have a web interface for managing the file.
Now all you need to transfer files between devices is a browser.
There is no need to install any applications on the devices (only this and only on the main computer).
The data is not transferred anywhere, but is stored on your computer (exactly where is described below).
There is no interaction with the Internet.
But remember, everyone who can access your local network (WiFi, for example) will see these files
(via the web interface as described below) until you stop the program
If you do not plan to develop this platform, but just want to use the solution.
Just download the archive from the builds
folder for your architecture
Then unzip it and go to folder. You will see two folders and a file
File need to run server. To run it
In linux, open folder in terminal and run
./file_server
In windows, open folder and run
file_server.exe
All files that you upload or download are located in the user/files
Folder src
need to work, don't change this folder
After run file_server file you need go to browser to address http://localhost:9030
.
Go to Settings
and you will see a local address,
which you can enter on any device
connected to the local network to see a folder with shared files, download and upload them (they will all be placed in the user/files
folder, witch near file_server
file).
No need to install any applications. Any device with access to this address will be able
to see these files
I have 1 folder and 2 files. The icon of a file or folder has two areas for clicking; if you click on the icon (indicated by a square), you will go to the folder or to the details of the file (there is almost empty there for now). If you click on the name (indicated by a circle), you will select a file or folder and you will have additional control buttons (download, rename, delete). You can select many files and folders.
That's all, further information for developers. Hope this helps.
To run project in development mode, you need run backend
make dev-run-back
All frontend code placed in front
folder. Read Readme file in this folder.
To run react app (located in folder front
).
make dev-run-front
Go to address
http://localhost:3000
To build production builds need to run (linux)
make prod-build
it will create zip archives for different platforms in builds
folder