Skip to content

chauhanparth210/upload-download-thing

Repository files navigation

upload_download_thing

A backend module that can handle file upload, download & metadata

Installation

$ pnpm install

Environment variables

Create .env file inside the root of this project

POSTGRES_HOST
POSTGRES_PORT
POSTGRES_USER
POSTGRES_PASSWORD
POSTGRES_DB
APPLICATION_PORT

# supported file formats
SUPPORTED_FILE_FORMATS=application/pdf,image/jpeg,image/png,audio/mpeg,video/mp4

# supported max file size (should be in MBs)
SUPPORTED_MAX_FILE_SIZE=10

Running the app

# development
$ pnpm run start

# watch mode
$ pnpm run start:dev

# production mode
$ pnpm run start:prod

Test

# unit tests
$ pnpm run test

# e2e tests
$ pnpm run test:e2e

# test coverage
$ pnpm run test:cov

About

Manage file upload, download & metadata

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published