
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
cagdas-easy-adminpanel
Advanced tools
Next.js projeleri için otomatik PostgreSQL tablo yönetimi ve CRUD arayüzü
Bu paket, Next.js projelerinize kolayca entegre edebileceğiniz, PostgreSQL veritabanınız için otomatik CRUD arayüzü oluşturan bir admin panel çözümüdür.
# NPM ile
npm install easy-adminpanel
# veya Yarn ile
yarn add easy-adminpanel
# veya PNPM ile
pnpm add easy-adminpanel
Kurulumdan sonra, aşağıdaki komutu çalıştırarak admin paneli projenize entegre edin:
npx easy-adminpanel init
veya özel seçeneklerle:
npx easy-adminpanel init --route=/admin --envVar=DATABASE_URL --title="Özel Admin Panel"
Kurulumdan sonra, aşağıdaki adımları izleyin:
Veritabanı bağlantı bilgilerinizi .env
dosyasına ekleyin:
POSTGRES_URL="postgres://user:password@host:port/database"
Uygulamanızı başlatın:
npm run dev
Tarayıcınızdan admin paneline erişin:
http://localhost:3000/easy-adminpanel
İlk kullanımda, yönetmek istediğiniz tabloları seçin.
Programatic olarak entegre etmek için, next.config.js
dosyanızda aşağıdaki şekilde kullanabilirsiniz:
const { setupEasyAdminPanel } = require('easy-adminpanel');
/** @type {import('next').NextConfig} */
const nextConfig = {
// ... mevcut konfigürasyonunuz
};
module.exports = setupEasyAdminPanel(nextConfig, {
route: '/admin', // İsteğe bağlı: Admin panelin erişileceği URL
envVar: 'DATABASE_URL', // İsteğe bağlı: Veritabanı bağlantı stringinin env değişkeni
title: 'Yönetim Paneli', // İsteğe bağlı: Panel başlığı
});
MIT
FAQs
Next.js projeleri için otomatik PostgreSQL tablo yönetimi ve CRUD arayüzü
We found that cagdas-easy-adminpanel demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.