Skip to content

ZackHoang/file-uploader

Repository files navigation

file-uploader

Description

A stripped-down Google Drive app

Live Preview

https://file-uploader-91du.onrender.com/

Features

  • Sign up and log in with PassportJS Local Strategy
  • Fetch image URLs from Cloudinary with its API
  • CRUD folders
  • Upload, Download and Delete files

Installation

Prerequisite

Instructions

  1. Clone the repo git clone https://github.com/ZackHoang/file-uploader.git

  2. Navigate to the repo cd file-uploader

  3. Install dependencies npm install

  4. Create a .env file on the current folder with these information

    DATABASE_URL=postgresql://USER:PASSWORD@HOST:PORT/DATABASE?schema=SCHEMA
    PORT=PORT_NUM
    SECRET_KEY=YOUR_SESSION_SECRET_KEY
    CLOUDINARY_URL=cloudinary://<your_api_key>:<your_api_secret>@cloud_name
    
  5. Populate database npx prisma db push

  6. Start the server node app.js

Screenshots

Sign Up Log In Home New Folder Update Folder File Details

About

A stripped-down Google Drive app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published