-
/content/:path? display the files or directorys in the paths
-
/upload/:path? upload file to the path
-
/dir/:path? create a directory in the path
-
/donw/:path? donwload the file in the path
-
/rm/:path? delete file in the path
-
/rmdir/:path? delete directory in the path
git clone https://github.com/time9683/CloudHome.git
cd CloudHomecd api
npm install
cd ../client
npm installcd api
code .env change CLOUD=/home/luis/shareCloud to the ubication to save files example : CLOUD=/home/user/cloud
cd client
code .envchange VITE_API_URL=192.168.156.150 to the correct ip the your machine example:
VITE_API_URL=192.168.1.10
cd api
npm run startthe server is running in the port 5000
in mode developer
cd client
npm run devyou have to push your direction ip and you wish port ip = your ip port = your port
cd client
npx vite --host ip --port port