aymdev/fregata-demo

Demo project for Fregata framework

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

pkg:composer/aymdev/fregata-demo

v1.0.0 2021-05-24 12:52 UTC

This package is auto-updated.

Last update: 2025-09-24 22:09:18 UTC


README

Simple Fregata v1 project setup using Docker Compose with a migration from a MySQL to a PostgreSQL database.

Installation

Clone this repository:

git clone https://github.com/AymDev/Fregata-demo.git

Or install it from Composer:

composer create-project aymdev/fregata-demo

Use the Makefile commands to build, start and open a Bash session into the app:

make start && make shell

Usage

A demo_migration is provided with this project. It will create (or re-create) the source (MySQL) and target (PostgreSQL) databases, and generate fake data in the source.

Run the migration:

php vendor/bin/fregata migration:execute demo_migration