This project helps to transfer file over HTTP/HTTPS
git clone https://github.com/micaiah-effiong/File-share.git
cd File-share
To install all dependencies execute
npm install
Adding dependencies with lerna can be done be executing
npm run bootstrap
The project uses lerna and workspace so to install packages you have the specify the workspace name
lerna add <package name> --scope=@share-box/server
To install module as root
lerna add <package name>
Depending on you package manager run the following instructions
# client
yarn client:dev
# or
npm run client:dev
# server
yarn server:dev
# or
npm run server:dev
you can also run but server in development mode
yarn dev
# or
npm run dev
In the client folder create a file called .env.[mode].local
and add the following.
Mode is either development
or production
depending on the mode you want to run the app in.
See Vitejs documentation for more details on .env files
In development mode, add the external API url of the server to fetch data from.
yarn build
# or
npm run build
yarn start
# or
npm run start