Skip to content

Centralized Configuration Manager is a tool designed to streamline and manage configuration settings for various applications in one central location.

License

Notifications You must be signed in to change notification settings

klejvi-ajdini/centralized-config-manager

Repository files navigation

Configuration Management System

This project is a Laravel-based configuration management system that allows you to manage application configurations dynamically.

Features

  • Retrieve and update configurations for different applications.
  • Cache configurations for improved performance.
  • Singleton pattern for configuration management.
  • Database seeding for initial configuration setup.

Installation

  1. Clone the repository:

    git clone <repository-url>
  2. Install dependencies:

    composer install
  3. Copy the example environment file and configure it:

    cp .env.example .env
  4. Start the development environment using Laravel Sail:

    ./vendor/bin/sail up
  5. Generate an application key:

    ./vendor/bin/sail php artisan key:generate
  6. Run the database migrations and seeders:

    ./vendor/bin/sail php artisan migrate --seed

Usage

Routes

  • GET /config: Displays the configuration settings.
  • POST /config/update: Updates the configuration settings.

Example

To update a configuration, send a POST request to /config/update with the following parameters:

  • app: The name of the application.
  • key: The configuration key.
  • value: The new value for the configuration key.

Testing

Run the following command to execute the test suite:

./vendor/bin/sail test

License

This project is open-sourced software licensed under the MIT license.

About

Centralized Configuration Manager is a tool designed to streamline and manage configuration settings for various applications in one central location.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages