Skip to content

Data Nexus Vault is a powerful and flexible tool that allows you to convert your device into an online, free database. You can turn it on or off anytime, and interact with it using a web-based dashboard, a Python software client, or a command-line interface (CLI).

Notifications You must be signed in to change notification settings

UltronTheAI/DataNexusVault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Nexus Vault

Data Nexus Vault is a flexible tool that allows you to convert your device into a free, online database. You can turn it on or off anytime and interact with it using a web-based dashboard or a Python client.

Features

  • User Registration and Authentication: Secure user registration, email verification, and login functionality.
  • Password Management: Password reset via email-based token verification.
  • Data Storage: Store user-specific data in MongoDB collections.
  • Data Retrieval: Retrieve user data using API keys.

Project Structure

  • app.js: Main server file with all routes and functionalities.
  • public: Contains HTML files for the web-based user interface.
  • test.py: Python script to interact with the server through the CLI.
  • README.md: Project documentation.

Setup

Prerequisites

Install Dependencies

  1. Clone the repository:

    git clone https://github.com/your-username/data-nexus-vault.git
    cd data-nexus-vault
  2. Install Node.js dependencies:

    npm install
  3. Install Python dependencies:

    pip install requests

Configure Environment Variables

Create a .env file in the root directory and include the following:

JWT_SECRET=your_secret_key
MONGODB_URI=your_mongodb_connection_string
EMAIL_APP_PASSWORD=your_email_password

Start the Server

Run the Node.js server:

node app.js

Usage

Web Interface

Visit http://localhost:5000 in your browser to access the dashboard.

Python Client

Use the Python client (test.py) for CLI-based interaction with the backend.

Run the Python client:

python test.py

API Endpoints

  • User Registration: POST /auth/register
  • Email Verification: GET /auth/verify/:token
  • Login: POST /auth/login
  • Password Reset Request: POST /auth/reset-password-request
  • Password Reset: POST /auth/reset-password
  • Retrieve User Data: GET /retrieve-user-data

Contributing

Feel free to contribute by opening issues or submitting pull requests.

License

This project is licensed under the MIT License.

About

Data Nexus Vault is a powerful and flexible tool that allows you to convert your device into an online, free database. You can turn it on or off anytime, and interact with it using a web-based dashboard, a Python software client, or a command-line interface (CLI).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published