https://github.com/geekyfaahad/drive-store
Flask app for secure file management with Firebase authentication and user-friendly interface.
https://github.com/geekyfaahad/drive-store
cloud-storage file-management firebase flask user-authentication
Last synced: 4 months ago
JSON representation
Flask app for secure file management with Firebase authentication and user-friendly interface.
- Host: GitHub
- URL: https://github.com/geekyfaahad/drive-store
- Owner: geekyfaahad
- Created: 2024-11-04T20:11:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-12T09:27:56.000Z (over 1 year ago)
- Last Synced: 2025-04-12T05:35:52.805Z (about 1 year ago)
- Topics: cloud-storage, file-management, firebase, flask, user-authentication
- Language: HTML
- Homepage:
- Size: 89.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Drive Stores
## Features
- **User Authentication**: Secure user login and registration via Firebase authentication, with email verification and password reset functionality.
- **File Management**: Users can upload, create, delete, and organize files and folders within their personal storage area.
- **Folder Security**: Ensures folder and file access are restricted to authenticated users only.
- **File Download**: Users can download individual files from their storage.
- **Dynamic Navigation**: Allows users to navigate folders and files dynamically.
- **Error Handling and Logging**: Logs errors and warnings for failed operations and authentication issues.
## Project Structure
```plaintext
├── app.py # Main application file
├── templates/ # HTML templates for rendering pages
│ ├── index.html # Homepage (login page)
│ ├── profile.html # User profile and file management page
│ ├── reset.html # Password reset page
│ ├── register.html # Registration page
│ ├── files.html # Dynamic folder view
├── static/ # Folder for static files (CSS, JS, images)
├── func.py # Contains helper functions like `generate_header`
└── requirements.txt # List of project dependencies
```
## Prerequisites
- Python 3.x
- Flask and Flask-Compress libraries
- Firebase configuration for authentication
- `requirements.txt` with project dependencies
## Installation
1. **Clone the Repository**:
```bash
git clone https://github.com/geekyfaahad/drive-store.git
cd drive-store
```
2. **Install Dependencies**:
```bash
pip install -r requirements.txt
```
3. **Firebase Setup**:
- Replace the Firebase configuration in `config` with your own Firebase project settings.
4. **Run the Application**:
```bash
python app.py
```
Access the app at `http://localhost:4000`.
## Usage
1. **Login/Register**: Access the homepage to log in or register a new account.
2. **File Upload**: Once logged in, navigate to the user profile to upload, delete, or organize files.
3. **Folder Operations**: Create and manage folders directly within your storage area.
4. **Download Files**: Use the download option to retrieve files from your storage.
5. **Logout**: Clear the session and return to the login page.
## License
Distributed under the MIT License. See `LICENSE` for more information.