This is a simple admin program that allows you to manage users in a SQLite database.
- Python 3.x
- SQLite3
-
Clone this repository or download the code.
-
Open a terminal and navigate to the project directory.
-
Run the following command to install the required dependencies:
pip install sqlite3
-
Start the program by running the following command:
python main.py
The program provides the following menu options:
-
Dodaj korisnika (Add User): Allows you to add a new user to the database. You will be prompted to enter the user's name, email, and password.
-
Ispisi sve korisnike (Show All Users): Prints all the users in the database.
-
Ukloni korisnika (Delete User): Allows you to remove a user from the database. You will be prompted to enter the ID of the user you want to delete.
-
Izlaz (Exit): Exits the program.
The program uses a SQLite database named "TCP.db". The database file will be created automatically if it doesn't exist. The "Users" table stores the user information, including their ID, name, email, and password.
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.