Skip to content

Divypratap93/FileUploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Uploader

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.

Features

  • 📤 Upload files to the server and store metadata in a database.
  • 📂 Retrieve and display uploaded files.
  • ❌ Delete files from the database and the server.

Tech Stack

  • Backend: Node.js, Express.js, Prisma, PostgreSQL/MySQL
  • Frontend: HTML, CSS, JavaScript
  • Database: PostgreSQL/MySQL (configured via Prisma)

Installation

🚀 Clone the Repository

git clone https://github.com/your-username/file-uploader.git
cd file-uploader

📦 Install Dependencies

npm install

🛠️ Set Up Database

Update your .env file with the database URL:

DATABASE_URL="postgresql://user:password@localhost:5432/mydb"

Run Prisma migrations:

npx prisma migrate dev --name init

▶️ Start the Server

npm start

The server will run on http://localhost:3000.

📜 License

MIT

👨‍💻 Author

Divy Pratap (@Divy__pratap)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors