Skip to content

TiagoDongo/LibFlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LibFlow

C cJSON

A lightweight library management system for registering, searching, updating, and removing books, with JSON data persistence. Built in C using cJSON for JSON file handling.


Note

Test Environment

  • Windows 10
  • cJSON library included in the project
  • The cJSON library is already included in the project (the .c and .h files are in the src/modules/ and libs/ folders), so no additional installation is required for JSON handling

Project Structure

  • src/: Main file (main.c) and system modules
  • libs/: Headers and definitions for structures/functions
  • data/: Directory for generated JSON files
  • scripts//: Python scripts for data generation

⚙ Prerequisites

  • Windows:

    • Install MinGW.
    • Add gcc to system PATH.
    • Optional: Duplicate mingw32-make.exe and rename to make.
  • Linux:

    sudo apt update && sudo apt install build-essential
  • Python scripts:

    • Install python
    pip install faker 

🚀Installation & Usage

  1. Clone the repo:

    git clone https://github.com/TiagoDongo/LibFlow.git
  2. Navigate to the project:

    cd LibFlow 
  3. Compile & Run:

    # linux:
        make run
    
    # windows:
        mingw32-make run        
  4. For help:

    # linux:
        make help
    
    # windows:
        mingw32-make help        

🤝 Contributing

About

📚A lightweight library management system for books, with JSON data persistence

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages