This project demonstrates the usage of FileNest, a secure and user-friendly file storage service. FileNest allows you to store and retrieve files securely, offering advanced features such as HMAC signature management to ensure data integrity.
Watch the demo video for a visual presentation of FileNest and its usage in this example.
Make sure you have Node.js and npm installed on your machine before starting. Don't forget to configure the HMAC secret key in your application's environment file.
# Example HMAC secret key configuration
HMAC_SECRET=YourSecretKey
The backend of this example is built with Node.js, Express, and MongoDB. It uses FileNest for file storage. To set up and run the backend, follow these steps:
- Navigate to the backend directory.
cd backend
- Install dependencies.
npm install
- Start the server.
npm start
The backend will be accessible at http://localhost:5000.
The frontend is built with React and Tailwind CSS. To set up and run the frontend, follow these steps:
- Navigate to the frontend directory.
cd frontend
- Install dependencies.
npm install
- Start the application.
npm start
The frontend application will be accessible at http://localhost:3000.
Note: File Nest should already be running. Check the FileNest README for more information on how to set it up 👉 FileNest Readme
- File Upload ✅
- File Retrieval ✅
- File Deletion ⏳
- Permanent File Deletion ⏳
- File Restoration ⏳
We actively encourage contributions to this project. If you find issues, bugs, or have improvement suggestions, feel free to open an issue or submit a pull request.
Also, make sure to check out the FileNest repo for more information on this powerful file storage service.