Skip to content

KLIIRTY/Pesapal-Mini-RDBMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Mini DBMS

A lightweight Mini Database Management System (DBMS) project built to demonstrate the core concepts of database operations, storage, and querying in a simplified environment.

πŸ›  Features

  • Basic CRUD operations
    Create, Read, Update, and Delete records from a mini database.

  • Simple Query Support
    Perform searches using basic commands and conditions.

  • File-based Storage
    Stores data in structured files to simulate persistent storage.

  • Command-line Interface
    Interact with the database using intuitive terminal commands.

  • Validation & Error Handling
    Ensures data integrity and prevents invalid operations.

πŸ’» Technologies Used

  • Language: Python
  • Data Storage: JSON files
  • Tools: Git, VS Code, Terminal

πŸ“‚ Project Structure

mini-dbms/ β”‚ β”œβ”€β”€ src/ # Source code files β”œβ”€β”€ data/ # Sample database files β”œβ”€β”€ tests/ # Test scripts for functionality β”œβ”€β”€ README.md # Project documentation └── LICENSE # License file (optional)

πŸš€ How to Run

  1. Clone the repository:
git clone https://github.com/KLIIRTY/mini-dbms.git
cd mini-dbms
Run the main program:

python main.py
Follow the command-line prompts to perform CRUD operations.

πŸ“Š Example Usage
> CREATE table_name field1 field2
> INSERT table_name value1 value2
> SELECT table_name WHERE field1=value1
> UPDATE table_name SET field2=value2 WHERE field1=value1
> DELETE table_name WHERE field1=value1
βœ… What You’ll Learn
Fundamentals of database design and management

Handling persistent storage without a full-fledged DBMS

Implementing data validation and error handling

Working with command-line interfaces for user interaction

🌟 Future Improvements
Support for advanced queries (like joins or aggregates)

Adding multi-user access and concurrency

Integrating a GUI frontend

Implementing indexing for faster queries

πŸ“ž Contact
Author: Kelvin Njiru
GitHub: KLIIRTY
Email: Nyagakevin822@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors