To install this application, you can clone this repository and install the required dependencies by running the following command:
pip install -r requirements.txt
First you need to connect your application to the MongoDB database by pasting Connection String URI Format in project/main.py. Make sure you name the database "UsersDB" and create a collection "users"
db = Database(" ", "UsersDB", "users")
To run the tests, repeat the previous step by pasting the new Connection String URI Format into project/tests.py and name the database: "Users_DB" and collection: "users"
def setUp(self):
#Mongodb link
self.uri = " "
self.database_name = "UsersDB_test"
self.collection_name = "users"
To use this application, run the following command in terminal:
python project/main.py
This will launch the application and display a menu with several options:
- save user data
- show user data
- delete user data
- edit user data
- search for users
- close the program
To select an option, enter the corresponding number and press Enter. Follow the instructions to enter the required information and the application will perform the desired action.
This application was created by Mikolaj Jagielak / jagiel02.