Skip to content

abhiverse01/Task-Man

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task-Man API

The Task-Man API is a powerful and flexible API designed for task management applications. It provides a robust backend solution with essential features for managing tasks efficiently.

Table of Contents

Features

  • Configuration Management: Utilize environment variables for easy configuration and deployment.
  • Database Integration: Seamlessly interact with databases using SQLAlchemy for data persistence.
  • API Routing: Organized routing with Flask Blueprints for modular and maintainable code.
  • Logging Setup: Comprehensive logging for improved debugging and monitoring of application behavior.
  • Testing: Ensure code reliability with pytest, featuring unit and integration tests.
  • Documentation: Clear instructions for setting up and running the project.

Installation

Prerequisites

Before you begin, ensure you have the following installed:

  • Python 3.7 or higher
  • pip (Python package installer)
  • A compatible database (e.g., PostgreSQL, SQLite)

Clone the Repository

  1. Clone the repository to your local machine:
    git clone https://github.com/abhiverse01/Task-Man.git
  2. Navigate into the project directory:
    cd task-man-api
  3. Install the required dependencies:
    pip install -r requirements.txt
    

Configuration

  1. Create a .env file in the root directory of the project.
  2. Add your environment variables, such as:
    DATABASE_URL=your_database_url
    SECRET_KEY=your_secret_key
    
    

Running the Application

  • To start the API server, run the following command:
    flask run
    
  • You can access the API at http://127.0.0.1:5000.

Testing

-To run the tests, execute:

pytest
  • This will run all the tests defined in the tests directory.

Contributing

  • We welcome contributions! Please follow these steps:
  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/YourFeature).
  3. Make your changes and commit them (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/YourFeature).
  5. Open a pull request.

License

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

Releases

No releases published

Packages

No packages published