Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oscvrhrr/file-uploader
Fullstack File Storage App built with Node, Express, PostgreSQL & Prisma
https://github.com/oscvrhrr/file-uploader
ejs express postgresql prisma prisma-session
Last synced: 21 days ago
JSON representation
Fullstack File Storage App built with Node, Express, PostgreSQL & Prisma
- Host: GitHub
- URL: https://github.com/oscvrhrr/file-uploader
- Owner: oscvrhrr
- Created: 2024-09-23T13:28:11.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-12-10T14:37:55.000Z (25 days ago)
- Last Synced: 2024-12-10T15:31:11.496Z (24 days ago)
- Topics: ejs, express, postgresql, prisma, prisma-session
- Language: CSS
- Homepage: https://file-uploader-production-c9a3.up.railway.app/
- Size: 250 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Alt Text](https://fzyxhpuljtyplklakuoy.supabase.co/storage/v1/object/sign/misc/mydrive.gif?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJtaXNjL215ZHJpdmUuZ2lmIiwiaWF0IjoxNzI5NzAwMDIyLCJleHAiOjE3NjEyMzYwMjJ9.gL1DGrj098fbaFptNXp0NNSxn0myWptxEwnTPr7eTas&t=2024-10-23T16%3A13%3A42.712Z)
MyDrive
A Fullstack File Storage system that securely uploads & downloads files. Allows for file management
and integrates with Supabase Storage for secure file storage.
## Users
| Description | Method | URL |
| ----------- | ------ | --- |
| create user | POST | /users/signup |
| login user | POST | /users/login |
| current user data | GET | /users/me |
| delete a user | DELETE | /users/:userid |## Drives
| Description | Method | URL |
| ----------- | ------ | --- |
| new folder in a drive | POST | /drives/:driveid/folder |
| new file in a drive | POST | /drives/:driveid/file |
| get a drive | GET | /drives/:driveid |## Folders
| Description | Method | URL |
| ----------- | ------ | --- |
| new folder in a folder| POST | /folders/:folderid/folder |
| new file in a folder | POST | /foldres/:folderid/file |
| get a folder| GET | /folders/:folderid |
| get a file from a folder| GET | /folders/:folderid/files/:fileid |## Problems I faced
## Auth
- [x] Sign Up
- [x] Log In
- [x] Log out## Folder
- [x] Create
- [x] Read
- [x] Delete## Files
- [x] Upload in Drive
- [x] Upload in Folder
- [x] Download Files
- [x] Manage Files## Todo
- [x] React for modern snapy frontend
- [ ] Make responsive
## Technology Used
* Auth: Passport.js (Local)
* Frontend: React frontend in development
* Backend: Node, Express, Prisma
* Database: PostgreSQL
* Session management: Prisma session store
* Security: Bcrypt for hashing and salting passwords