Skip to content

JustinLawrenceMS/strangler-fig

Repository files navigation

JSON Dataset

This was a hobby website intended solely to demonstrate raw, procedural PHP as an interface for a Centers for Disease Control JSON dataset. Now it's a demo of strangler fig pattern using Laravel. You can see it deployed here.

The legacy app is wrapped in Laravel. Index.php asks "Do you want the modernized app?" If the answer is yes, it routes to the Laravel wrapper. If the answer is no, it routes to the Legacy App. You can see it here:

Legacy App

Laravel Wrapper

Now we can strangle this into a modern app.

Usage

To use it, clone it and spin it up using Laravel Sail.

Demo

Check out the live demo here.

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.

Notes:

The branches are organized by stages of strangler fig, ie strangler_fig_part_1 etc.

In strangler fig part 2, public/legacy.php and public/index.php are important but were drowned out by noise from laravel repo init.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published