Skip to content

The SyncSphere is a Python-based application that provides functionalities for user registration, updating, and deletion. It utilizes a MySQL database to store user data securely.

License

Notifications You must be signed in to change notification settings

Sanidhyafeaturist/SyncSphere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SyncSphere

About SQL

Overview

The SyncSphere is a Python-based application that provides functionalities for user registration, updating, and deletion. It utilizes a MySQL database to store user data securely. This type of sql model is also used by GitLab.

Features

  • User registration with email and password
  • Update user details
  • Delete user accounts
  • Input validation and error handling
  • Password hashing for secure storage

Technologies Used

  • Python
  • MySQL
  • bcrypt for password hashing
  • MySQL Connector/Python

Installation

Prerequisites

  • Python 3.x
  • MySQL server
  • pip for installing packages

Steps to Install

  1. Clone the repository:

    • git clone https://github.com/Sanidhyafeaturist/SyncSphere.git
    • cd SyncSphere
  2. Set up the databases:

    • Run the SQL scripts located in the db directory:
      • db1.sql for user credentials
      • db2.sql for additional user data
  3. Update Configuration:

    • Edit user_management/config.py to set your database connection parameters.

Usage

To use the User Management System, you can run the main script or integrate it into your own application.

Example Usage

  1. Import the UserManager class:

    • from user_management.db_manager import UserManager
  2. Initialize UserManager:

    • user_manager = UserManager()
  3. User inputs for registration:

    • username = input("Enter your username: ")
    • email = input("Enter your email: ")
    • password = input("Enter your password: ")
  4. Register the user:

    • user_manager.register_user(username, email, password)
  5. Close connections when done:

    • user_manager.close_connections()

Contributing

Contributions are welcome! If you have suggestions for improvements or new features, please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

  • MySQL for the database.
  • bcrypt for password hashing.

About

The SyncSphere is a Python-based application that provides functionalities for user registration, updating, and deletion. It utilizes a MySQL database to store user data securely.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages