Share files between devices connected on the same wifi network from your browser.
- you must have mongodb installed locally
- clone the repo
git clone https://github.com/MikeyOnyedika/localShare.git
- connect your computer to your home network (wifi).
- install dependencies,
npm i
on bothfrontend
andbackend
folders - edit the
.env
file in thebackend
folder to configure things like storage path for the files - start the servers,
npm start
on bothfrontend
andbackend
folders - to access on another device, open the browser on that device and type in the ip address (printed in the backend console) and the port on the frontend
- you can now share files between computer and mobile from your browser!!
# make sure you're on the branch you want to rename
git checkout master
# rename from 'master' to 'main'
git branch -m master main
# list all git branches both local and remote to confirm the change
git branch -a