Skip to content

cedricduffournet/symfony-api-rest-starter

Repository files navigation

Symfony 4 rest starter

Simple project to start developping rest api with symfony 4

SymfonyInsight StyleCI Build Status

Installation

  1. Clone repository
$ git clone https://github.com/cedricduffournet/symfony-api-rest-starter.git
  1. Build dev docker image
make dev
  1. Create database
make database-create
  1. Load fixtures
make fixtures
  1. Create oauth api key
make oauth2-key

API documentation

Navigate to

http://127.0.0.1:81

use login : superadmin@dev.com / pwd : superadminpwd to get access token

Testing (behat)

  1. Build test docker image
make test
  1. Execute behat scenarios
make behat