Skip to content

Handling file uploads and downloads using express for api,mysql for db and vue for the client side

Notifications You must be signed in to change notification settings

BorisDmv/file-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue 3 + Vite + Express + MySQL

Project Description

This is a simple project to test the integration of Vue 3, Vite, Express and MySQL. Handling file uploads and downloads.

Project setup

Step 1: Clone the repository

Step 2: Install the dependencies

npm install

Step 3: Query the DB

CREATE TABLE files (
  id INT AUTO_INCREMENT PRIMARY KEY,
  original_filename VARCHAR(255) NOT NULL,
  stored_filename VARCHAR(255) NOT NULL
);

Step 4: Change the database connection settings in the file ./db_config.js

About

Handling file uploads and downloads using express for api,mysql for db and vue for the client side

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published