Vuetify File Browser Server & Backend SDK
Backend for Vuetify File Browser Component
Usage
As standalone server
git clone https://github.com/semeniuk/vuetify-file-browser-servercd vuetify-file-browser-servercp .env.defaults .env
Then set configuration properties in .env
file. After this run the server:
npm start
As Express.js router
npm i vuetify-file-browser-server
const express = app = cors = bodyParser = path = sdk = ; // enable CORSapp; // parse incoming request bodyapp;app; // get AWS configuration from process.envconst AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_REGION AWS_S3_BUCKET FILEBROWSER_AWS_ROOT_PATH = processenv; // setup routesapp; app;
Custom implementation
See vuetify-file-browser-server/sdk/Router
for example how to use LocalStorage
and S3Storage