Skip to content

lukeelten/TailorTest

Repository files navigation

Tailor Test

This test application uses code from Zalando/Tailor.

Skeleton used from phalcon-compose

Start Project

To start the project use docker-compose.
Nevertheless, you need to free the ports 80,8080,8100,8101,5432 in order to successfully run docker.

# Do the following on your own:
# Install composer dependencies for frontend
# Install npm dependencies for tailor

# Start infrastructure
docker-compose up -d

You can see the result on localhost

Frontend is directly available via localhost:8100
Backend REST is available via localhost:8101
PhpPgAdmin is available via localhost:8080 (Username and Password can be seen in variables.env)

Infrastructure

The infrastructure is inspired by Zalando´s project mosaic Website.

Skipper

HTTP Router developed by Zalando. See github.com/zalando/skipper

Tailor

Tailor composes the delivered page out of multiple fragment. The template can be found in "tailor/templates".

Frontend

The frontend generates the HTML Code based on the result from the Backend API calls.
As HTTP Client HTTPful is used.

Backend

The Backend API uses Phalcon as Framework. The Backend connects to a PostgreSQL server and create JSON response based on some programmed test data.

PostgreSQL

A PostgreSQL database will be run by docker and is available to the application inside the containers as well as the host on port 5432.

About

Some personal testing with Microservices and Zalando/Tailor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published