Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 703 Bytes

File metadata and controls

44 lines (30 loc) · 703 Bytes

Safe File Storage (Backend)

📋 Endpoints

  • Upload a file
  • Download a file
  • List all the uploaded files
  • Create a folder
  • Rename a file
  • Move a folder/file
  • Delete a folder/file
  • Search for a folder/file

🚀 Installing

yarn install
cat .env.example > .env.testing

Don't forget to fill out the appropriate values on the .env.testing file.

Make sure to create the database before running the project.

☕ Running

The command below will start the server.

yarn start:local

🔥 Testing

It will run the unit and integrations test cases.

yarn test

PS: the server must be running for the integration tests.