项目作者: TheJoin95

项目描述 :
Symfony 4 with API Platform
高级语言: JavaScript
项目地址: git://github.com/TheJoin95/symfony-sample-api.git
创建时间: 2019-02-25T21:52:48Z
项目社区:https://github.com/TheJoin95/symfony-sample-api

开源协议:

下载


Demo Symfony with API-Platform

This project use docker to build php, cache proxy (not used), postgres and client container.

Instructions

Make sure to have docker installed and running. Also check if you are logged in.

Run docker-compose up -d to run the docker instance in daemon mode

Make sure that everything went well and all the dependecies were installed correctly.

Install project’s dependencies:
docker-compose exec php composer update

Then you can start to run the simple tests by type:
docker-compose exec php bin/phpunit

If everything went well, start to load some fake data into our postgres db:
docker-compose exec php bin/console doctrine:fixtures:load

Now you have some data to test out the API.

API

Swagger documentation: http://localhost:8080/

Client (React) + Bootstrap

Client: http://localhost