No description
  • JavaScript 99.3%
  • Dockerfile 0.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-03-31 09:25:24 -04:00
database Merge remote-tracking branch 'origin/2.0.0' into 2.0.0 2025-03-30 17:58:15 -07:00
noona Improve Routes, Rename files to match what is needed, fix auth 2025-03-31 09:25:24 -04:00
.dockerignore Add CRUD API for MariaDB and MongoDB with logging utilities 2025-03-30 17:57:53 -07:00
.gitignore Refactor and deprecate REST API and database initialization code 2025-03-25 21:52:27 -07:00
coderabbit.yml Add CRUD API for MariaDB and MongoDB with logging utilities 2025-03-30 17:57:53 -07:00
Dockerfile Refactor and deprecate REST API and database initialization code 2025-03-25 21:52:27 -07:00
initmain.mjs Refactor and deprecate REST API and database initialization code 2025-03-25 21:52:27 -07:00
LICENSE Initial commit 2025-03-12 22:56:11 -07:00
package.json Refactor and deprecate REST API and database initialization code 2025-03-25 21:52:27 -07:00
README.md add docker-compose 2025-03-22 10:15:44 -04:00

Noona-Vault

Noona-Vault is the central data handler of The Noona Project. It exposes a REST API for CRUD operations and connects to internal MongoDB and Redis instances to persist and cache data.


Features

  • Accepts standardized JSON requests from other Noona services
  • Handles create/read/update/delete operations
  • Dynamic MongoDB collections via the target field
  • Redis support for fast caching and pub-sub (planned)
  • Verifies JWT tokens from noona-warden for secure access

📦 Installation & Setup

This bot is fully containerized with Docker for easy deployment.

🔧 Prerequisites

Before installing, make sure you have:

🏗️ Docker Compose Installation

1 Clone this repo:

git clone https://github.com/The-Noona-Project/Noona-Vault.git

2 Setup your configuration:

cd Noona-Vault
cp .env.example .env

Edit The .env file

3 Build and Start:

docker network create noona-network

docker compose up -d --build

API Payload Structure

{
  "database": "mongo",
  "action": "create",
  "target": "pastNotify",
  "data": {
    "title": "System Alert",
    "timestamp": "2025-03-21T15:00:00Z"
  }
}