Skip to content

pojith/driver

Repository files navigation

Drive

Open Source file storage server

🔍 Index

⭐️ Features

  • Upload Files
  • Download Files
  • Upload Folders
  • Download Folders
  • Photo, Video Viewer and Media Gallery
  • JWT (Access and Refresh Tokens)

👨‍🔬 Tech Stack

  • React
  • Node.js
  • Express
  • MongoDB

Important

Requirements

  • Node.js (20 Recommended)
  • MongoDB (Unless using a service like Atlas)
  • FFMPEG (Optional, used for video thumbnails)
  • build-essential package (If using linux)
  1. Install dependencies
npm install
  1. Create Environment Variables

You can find enviroment variable examples under:

backend/config -> Backend Enviroment Variables
src/config -> Frontend Enviroment Variables

Simply remove the .example from the end of the filename, and fill in the values.

Note: In most cases you will only have to change FE enviroment variables for development purposes.

  1. Run the build command
npm run build
  1. Start the server
npm run start

When running the `npm run build` command it may take more memory than node allows by default. You will get the above error in such a case. To fix this, you can run the following command instead when building:

```sh
NODE_OPTIONS="--max-old-space-size=4096" npm run build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published