Kmaschta / demo

Demo app for the API Platform framework

Home Page:https://demo.api-platform.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API Platform Demo

This a demonstration application for the API Platform Framework. Try it online at https://demo.api-platform.com.

Install

$ git clone https://github.com/api-platform/demo.git
$ docker-compose up

And go to https://localhost.

Loading Fixtures

$ docker-compose exec php bin/console hautelook:fixtures:load

Deploy on Kubernetes (GCP)

Everything is pre-configured. Edit the ci/.env file to set your project parameters, and declare the following secured environment variables in your CI:

  • PROJECT_ID: GCP project id (i.e: api-platform-demo-123456)
  • CI_SERVICE_ACCOUNT: GCP service account
  • CI_SERVICE_ACCOUNT_KEY: GCP service account key
  • CF_API_KEY: Cloudflare API key
  • CF_API_EMAIL: Cloudflare email

Important: do not check "Display value in build log" for security reason!

Deployment will be done automatically by the CI.

About

Demo app for the API Platform framework

https://demo.api-platform.com

License:MIT License


Languages

Language:JavaScript 72.7%Language:PHP 14.5%Language:Shell 5.4%Language:Dockerfile 2.4%Language:CSS 2.1%Language:HTML 1.2%Language:VCL 1.0%Language:Gherkin 0.4%Language:Smarty 0.3%