Skip to content

Symfony API Platform with ReactJS admin client example configuration for Platform.sh. Maintained by the Platform.sh team. http://platform.sh

Notifications You must be signed in to change notification settings

platformsh/example-api-platform-reactjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

API Platform with an admin client on Platform.sh

This example provides a simple configuration to deploy API Platform with the ReactJS admin client on Platform.sh.

It is setup as a multi-application project where:

  • the backend api application is running on PHP:7.1.
  • the frontend admin application is running on nodejs:6.9 and is based on API Platform Admin.

Setup

Create a Platform.sh project.

Clone the GitHub repository and push its content to your Platform.sh project:

git clone git@github.com:platformsh/platformsh-example-api-platform-reactjs.git
cd platformsh-example-api-platform-reactjs/
git remote add platform [project-id]@git.[region].platform.sh:[project-id].git
git push platform master

SSH to the api remote application and create the database schema:

ssh [project-id]-master-[string-identifier]--api@ssh.[region].platform.sh
php bin/console doctrine:schema:create

You can now access the admin URL provided by Platform.sh and enjoy.

About

Symfony API Platform with ReactJS admin client example configuration for Platform.sh. Maintained by the Platform.sh team. http://platform.sh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •