اللغة
تسجيل الدخولأنشئ قاعدة بيانات
التوثيق

7amoDB التوثيق

بنية MongoDB بسيطة وآمنة وجاهزة للاستخدام للمطورين وبوتات ديسكورد والمواقع وواجهات API و Node.js و Python والتطبيقات الحديثة.

البداية

7amoDB gives you an isolated MongoDB database with its own database user, a ready-to-usemongodb+srv connection string, and real storage monitoring. There is nothing to install.

  • Sign in with Discord, Google, GitHub or a one-time email code.
  • Create up to 3 databases on the free plan.
  • Each database has a 500 MB storage target.

أنشئ قاعدة بياناتك

إنشاء قاعدة بيانات

Go to /dashboard/databases/new, enter a name (lowercase letters, numbers, hyphens and underscores, 3–32 characters) and submit. A secure password is generated for you with the Web Crypto API — you never have to invent one.

Provisioning reports real backend steps:

  • إنشاء قاعدة البيانات — verify the target cluster is reachable.
  • توليد بيانات الاعتماد — generate a cryptographically secure password.
  • ضبط الوصول — ensure the network access list allows your connection.
  • تهيئة MongoDB — create the scoped MongoDB database user.
  • توليد رابط الاتصال — build and encrypt the connection string.
  • اللمسات الأخيرة — mark the database ready and notify you.

If a step fails, the database is marked خطأ with the provider's real error message and a Retry action. Nothing is ever reported as successful when it is not.

رابط الاتصال

Your connection string follows the standard MongoDB SRV format:

mongodb+srv://USERNAME:PASSWORD@HOST/DATABASE?retryWrites=true&w=majority

Copy it from the الاتصال section of your database page. Store it in an environment variable — never commit it to source control.

# .env
MONGODB_URI="mongodb+srv://..."

Node.js

// npm i mongodb
import { MongoClient } from 'mongodb'

const client = new MongoClient(process.env.MONGODB_URI)
await client.connect()

const db = client.db()  // database from the URI path
const users = db.collection('users')

await users.insertOne({ name: 'Ahmed', createdAt: new Date() })
const all = await users.find({}).toArray()
console.log(all)

With Mongoose:

// npm i mongoose
import mongoose from 'mongoose'
await mongoose.connect(process.env.MONGODB_URI)

Python

# pip install "pymongo[srv]"
import os
from pymongo import MongoClient

client = MongoClient(os.environ["MONGODB_URI"])
db = client.get_default_database()

db.users.insert_one({"name": "Ahmed"})
for doc in db.users.find():
    print(doc)

Async with Motor:

# pip install motor
from motor.motor_asyncio import AsyncIOMotorClient
client = AsyncIOMotorClient(os.environ["MONGODB_URI"])

بوتات ديسكورد

A minimal discord.js bot storing guild settings:

import { Client, GatewayIntentBits } from 'discord.js'
import { MongoClient } from 'mongodb'

const mongo = new MongoClient(process.env.MONGODB_URI)
await mongo.connect()
const guilds = mongo.db().collection('guilds')

const bot = new Client({ intents: [GatewayIntentBits.Guilds] })
bot.on('guildCreate', async (g) => {
  await guilds.updateOne({ _id: g.id }, { $set: { name: g.name } }, { upsert: true })
})

bot.login(process.env.DISCORD_TOKEN)

You can also manage your 7amoDB databases from Discord with slash commands such as /database list, /database info and /database connection. Credentials are always sent as ephemeral replies visible only to you.

بيانات الاعتماد

Each database has its own MongoDB user with readWrite permission on that single database — nothing else. Passwords and connection strings are encrypted at rest with AES-256-GCM via the Web Crypto API and are only decrypted for the authenticated owner.

  • Secrets are hidden by default in the UI and revealed on demand.
  • You can regenerate the password at any time with إعادة توليد كلمة المرور. The old password stops working immediately.
  • Secrets are never written to logs or audit records.

التخزين

Each database targets 500 MB. Usage is read from the provider's real metrics API. When the provider does not expose per-database metrics for your plan, the dashboard shows “مقاييس الاستهلاك غير متاحة من المزوّد حتى الآن.” rather than inventing a number.

  • At 80% the database status becomes تحذير and you are notified.
  • At 100% the status becomes متدهورة.
نراقب الاستهلاك الفعلي الذي يبلّغ عنه المزوّد ونطبّق حدود تنبيه وحالات تقييد. ولا ندّعي وجود حصة فيزيائية صارمة حيث لا يوفّرها المزوّد.

الوصول الشبكي

Network access is configured as 0.0.0.0/0, which lets you connect from any host — your laptop, a VPS, a serverless function or a Discord bot.

هذا يسمح بالاتصال من أي عنوان IP. حافظ على سرية بيانات قاعدة بياناتك.

الأمان

  • تشفير AES-256-GCM — كلمات مرور قواعد البيانات وروابط الاتصال لا تُخزَّن أبداً كنص صريح.
  • تفويض من جهة الخادم — يتم التحقق من الملكية في الخادم لكل مورد. لا اعتماد على الواجهة.
  • جلسات محصّنة — كوكيز HTTP-only ورموز جلسات مُجزّأة يمكن إلغاؤها من الإعدادات.
  • إدارة موثّقة — كل إجراء إداري يُسجَّل في سجل تدقيق دائم.

Email sign-in codes are generated with crypto.getRandomValues, stored only as HMAC-SHA256 hashes, expire in 10 minutes, are single-use, and are limited to 5 attempts with per-IP and per-address rate limits.

الأسئلة الشائعة

نعم. يتم تجهيز قواعد البيانات على MongoDB Atlas عبر واجهة الإدارة الرسمية، مع مستخدم مخصّص لكل قاعدة.
نراقب الاستهلاك الفعلي الذي يبلّغ عنه المزوّد ونطبّق حدود تنبيه وحالات تقييد. ولا ندّعي وجود حصة فيزيائية صارمة حيث لا يوفّرها المزوّد.
الوصول الشبكي مضبوط على 0.0.0.0/0، لذا يمكن لأي عنوان IP الاتصال. حافظ على سرية بياناتك.
مشفّرة بـ AES-256-GCM، ولا تُفك إلا لمالك قاعدة البيانات بعد التحقق من هويته.
نعم، من منطقة الخطر. عليك كتابة اسم قاعدة البيانات للتأكيد.

الدعم

Email shonghay9@gmail.com, open a report from your dashboard, or browse the code on GitHub.