pg-studio
v1.2.4
Published
simple graphical interface for the postgres
Readme
PG Studio
A simple graphical interface for PostgreSQL, built with Next.js.
🚀 Usage
You don't need to install anything globally. Just run:
npx pg-studioThis will start the PG Studio server and open the UI in your browser.
⚙️ Requirements
Make sure you have a .env file in the directory where you run the command. At least one of the following environment variables must be set with your database connection string:
DB_URL=postgres://user:password@localhost:5432/mydb
# or
DATABASE_URL=...
# or
PG_URL=...
# or
POSTGRES_URL=...
# or
PG_CONNECTION=...
# or
CONNECTION_STRING=...🖥️ Development
If you want to run the project locally:
git clone https://github.com/your-username/pg-studio.git
cd pg-studio
npm install
npm run devThe app will be available at http://localhost:3000.
📦 Deployment
You can deploy this project like any other Next.js application. For example, using Vercel or Docker.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
We welcome contributions to PG Studio! Here's how you can help:
Getting Started
- Fork the repository
- Clone your fork locally:
git clone https://github.com/your-username/pg-studio.git cd pg-studio - Install dependencies:
npm install - Create a branch for your feature or bugfix:
git checkout -b feature/your-feature-name
Development Guidelines
- Follow the existing code style and conventions
- Write clear, descriptive commit messages
- Test your changes thoroughly before submitting
- Update documentation if you're adding new features
Setting up Development Environment
- Copy
.env.exampleto.envand configure your database connection - Run the development server:
npm run dev - Open http://localhost:3000 in your browser
Submitting Changes
- Push your changes to your fork:
git push origin feature/your-feature-name - Create a Pull Request with:
- A clear title and description
- Screenshots if UI changes are involved
- Any relevant issue numbers
Reporting Issues
- Use GitHub Issues to report bugs or request features
- Provide as much detail as possible, including:
- Steps to reproduce
- Expected vs actual behavior
- Your environment (OS, Node.js version, etc.)
Code of Conduct
Please be respectful and constructive in all interactions. We're here to build something great together!
