Skip to content

16artemiy16/filestorage-f

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

filestorage-f

Simple file server uses Fastify, MongoDB + GridFS.

Set up

Environment variables

Create .env in the root directory and set the next fields:

  • APP_PORT - port in which the app will run

  • MONGODB_URI - mongodb URI

You can use the example below for local environment:

APP_PORT=3001
MONGODB_URI=mongodb://localhost:27017/filestorage-f

Packages installation

Run npm i to install all dependencies.

Run

Run npm start to start the app in watch mode.

About

Filestorage server [Fastify + MongoDB + GridFS]

Topics

Resources

Stars

Watchers

Forks