Skip to content

NodeJS Web server to store files made with express.

Notifications You must be signed in to change notification settings

FranciscoDadone/FileServer

Repository files navigation


File Server

A node.js server to allocate files!
Explore the docs »

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contact

About The Project: Features

Login page

Register page

Home page

Click a image to display its content

Click a text document to view and edit it




  • I've created this project for fun, and it's a nodeJS file server that you can access it via a webpage, it has a login and manages users accounts and the data that users could store in the cloud. This is basically a onedrive or google drive clone if you will.

Built With

Getting Started

Prerequisites

  • npm

    npm install npm@latest -g
  • Mongo database: You can create your free cluster to get started here here or install a local database.

  • pm2 (optional)

    npm install pm2 -g

Installation (Docker)

  1. Clone the repo.
    git clone https://github.com/FranciscoDadone/FileServer
  2. Edit the port of the app in docker-compose.yml file (default: 3000)
  3. Launch the app.
    docker-compose up -d

Usage (If you don't want docker and instead pm2)

  • If you want to change the port (default: 3000) you can edit the ´ecosystem.config.js´ file and change the port to whatever you want or if you'r not using pm2, you can go to ´bin/www´ and change ´var port = normalizePort(process.env.PORT || '3000');´ and change it there.
  1. Edit config/keys to connect to mongo.

  2. Start the server

 npm run start

or this if you're using pm2

pm2 start

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contact

Francisco Dadone - @FranDadone - dadonefrancisco@hotmail.com.ar

Project Link: https://github.com/FranciscoDadone/FileServer

About

NodeJS Web server to store files made with express.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published