Giter Site home page Giter Site logo

trellomize's Introduction

Trellomize

Trellomize is a command-line project management tool inspired by Trello. It allows users to manage projects, tasks, and user accounts with a rich command-line interface using rich. The application includes user authentication, project management, task management, and an admin panel for managing user accounts.

Features

  • User authentication (login and registration)
  • Project creation and management
  • Task creation, assignment, and management within projects
  • Comments on tasks
  • Admin panel for user management
  • Rich CLI interface with rich for enhanced user experience
  • Logging with loguru

Installation

  1. Clone the repository:

    git clone https://github.com/MohammadMahdi-Sharifbeigy/Trellomize.git
    cd Trellomize
  2. Create and Activate a Virtual Environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install Dependencies:

    pip install -r requirements.txt
  4. Run the application:

    python main.py

Usage

Command-line Interface

Once the application starts, you will be prompted with options to login, register, or exit. After logging in, you can navigate through the main menu to manage projects, tasks, and your profile.

Admin Commands

You can also use command-line arguments for administrative tasks such as creating users and projects:

  • Create a new user:

    python manager.py create-user --username <username> --password <password> --is_active <true/false> --email <email>
  • Create a new project:

    python manager.py create-project --title <project_title> --start_date <dd/mm/yyyy>
  • Purge all data:

    python manager.py purge-data

For more details on available commands, run:

python manager.py --help

Running Tests

To run the tests, execute the following command:

python -m unittest test_manager.py

File Structure

.
├── main.py                  # Main entry point of the application
├── manager.py               # Contains the UserManager, ProjectManager, and TaskManager classes
├── data.json                # JSON file for storing project and task data
├── users.json               # JSON file for storing user data
├── app.log                  # Log file for logging
├── requirements.txt         # Project dependencies
├── README.md                # This README file
├── LICENSE                  # License information
├── .gitignore               # Git ignore file
└── test.py                  # Test file for manager.py

Dependencies

  • bcrypt for password hashing
  • loguru for logging
  • rich for the command-line interface
  • argparse for command-line argument parsing
  • json for data storage and manipulation

License

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

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

Authors


Note: Ensure that the users.json and data.json files are present in the project directory to store user and project data. If these files do not exist, they will be created automatically when the application is run.

trellomize's People

Contributors

yousofss avatar mohammadmahdi-sharifbeigy avatar

Stargazers

 avatar Kazem Forghani avatar  avatar Danial Mehdizadeh avatar

Watchers

Kazem Forghani avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.