A stripped-down Google Drive app
https://file-uploader-91du.onrender.com/
- Sign up and log in with PassportJS Local Strategy
- Fetch image URLs from Cloudinary with its API
- CRUD folders
- Upload, Download and Delete files
- NodeJS && npm (Latest LTS version)
- psql
- Cloudinary API Key
-
Clone the repo
git clone https://github.com/ZackHoang/file-uploader.git -
Navigate to the repo
cd file-uploader -
Install dependencies
npm install -
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 -
Populate database
npx prisma db push -
Start the server
node app.js





