NodeMyAdmin is a lightweight, web-based database management tool for Node.js applications. Designed for simplicity and efficiency, it allows developers to interact with their MySQL databases via an intuitive web interface.
- User-friendly Interface: Modern, responsive design with dynamic table views.
- Database Diagram Visualization: Automatically generate and view your database schema using Mermaid.js.
- Table Browsing: Easily browse and filter table data with support for pagination, sorting, and searching.
- Column Details: Inspect the structure of each table, including primary keys, foreign keys, and data types.
- Secure: Utilizes environment variables for sensitive configuration.
- Database Selection: Easily switch between multiple databases from the web interface.
Follow these steps to install and run NodeMyAdmin:
-
Clone the repository:
git clone https://github.com/gusmartinuk/nodemyadmin.git
-
Navigate to the project directory:
cd nodemyadmin -
Install dependencies:
npm install
-
Create a
.envfile based on the provided.env-samplefile:MYSQL_HOST=localhost MYSQL_USER=root MYSQL_PASSWORD=yourpassword MYSQL_DATABASE=yourdatabase -
Start the application:
npm start
-
Open your browser and go to:
http://localhost:3000
- Navigate through tables from the sidebar.
- Use the Diagram button to view your database schema graphically.
- Browse table data dynamically with search, pagination, and sorting features.
- Node.js: Backend runtime environment.
- Express.js: Web application framework.
- EJS: Template engine for dynamic HTML rendering.
- DataTables: Interactive table support for sorting, filtering, and pagination.
- Mermaid.js: Database schema visualization.
Autogenerated diagram for Python Django app database

Contributions are welcome! To get started:
- Fork the repository.
- Create a new branch for your feature:
git checkout -b feature-name
- Make your changes and commit:
git commit -m "Add feature-name" - Push your branch:
git push origin feature-name
- Open a pull request.
Future improvements and features include:
- Authentication: Secure login and user management.
- Theme Selection for Diagrams: Customize the appearance of your database diagrams using Mermaid's built-in themes.
- Documentation: Comprehensive user guide and API documentation.
- Support for Multiple Databases: Add PostgreSQL and SQLite compatibility.
- Query Builder: Custom SQL queries with execution in the browser.
- Data Export: CSV and JSON export options.
- CRUD Model: Develop a robust Create, Read, Update, Delete (CRUD) model for managing database records efficiently.
- Source Generator: Automatically generate source code for database interactions.
- Customizable Forms Generator: Create dynamic forms based on database schema for data entry and updates.
- Automatic Master-Client Structure: Support for master-client database structures in CRUD operations.
This project is licensed under the MIT License. See the LICENSE file for more details.
Gus Martin
GitHub Profile


