Skip to content

Latest commit

 

History

History
70 lines (46 loc) · 2.61 KB

README.md

File metadata and controls

70 lines (46 loc) · 2.61 KB

0x03. Files Manager

files

Description

This project is a summary of this back-end trimester: authentication, NodeJS, MongoDB, Redis, pagination and background processing.

The objective is to build a simple platform to upload and view files:

  • User authentication via a token
  • List all files
  • Upload a new file
  • Change permission of a file
  • View a file
  • Generate thumbnails for images

Note: Of course, this kind of service already exists in the real life - it’s a learning purpose to assemble each piece and build a full product. This platform will not feature a front-end interface the user can actually interact with. It is all handled strictly from the command line.

Resources

Read or watch:

  1. Node JS getting started
  2. Process API doc
  3. Express getting started
  4. Mocha documentation
  5. Nodemon documentation
  6. MongoDB
  7. Bull
  8. Image thumbnail
  9. Mime-Types
  10. Redis

Learning Objectives

At the end of this project, you are expected to be able to explain to anyone, without the help of Google:

  • how to create an API with Express
  • how to authenticate a user
  • how to store data in MongoDB
  • how to store temporary data in Redis
  • how to setup and use a background worker

Requirements

  • Allowed editors: vi, vim, emacs, Visual Studio Code
  • All your files will be interpreted/compiled on Ubuntu 18.04 LTS using node (version 12.x.x)
  • All your files should end with a new line
  • A README.md file, at the root of the folder of the project, is mandatory
  • Your code should use the js extension
  • Your code will be verified against lint using ESLint

BUGS

This project was created without the current latest stable versions of MongoDB and Redis, therefore because these technologies are outdated and unsupported, there are bugs throughout the program that may prevent you from keeping the Redis client open consistenly and testing the code locally.

Contact

Adam Taylor - Github

Bree Browder - Github

Project: Internal link

(back to top)