This project is a file uploader built using Node.js, Prisma, and a frontend with JavaScript. It allows users to upload, view, and delete files from a database.
- 📤 Upload files to the server and store metadata in a database.
- 📂 Retrieve and display uploaded files.
- ❌ Delete files from the database and the server.
- Backend: Node.js, Express.js, Prisma, PostgreSQL/MySQL
- Frontend: HTML, CSS, JavaScript
- Database: PostgreSQL/MySQL (configured via Prisma)
git clone https://github.com/your-username/file-uploader.git
cd file-uploadernpm installUpdate your .env file with the database URL:
DATABASE_URL="postgresql://user:password@localhost:5432/mydb"npx prisma migrate dev --name initnpm startThe server will run on http://localhost:3000.
MIT
Divy Pratap (@Divy__pratap)