Skip to content

This is a coding lab project to test how easy and fast could be an API RESTFull implementation using Symfony 6, without API Platform

Notifications You must be signed in to change notification settings

necobm/symfony-api-restfull

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API RESTFull with Symfony 6, without using API Platform

This is a coding lab project to test how easy and fast could be an API RESTFull implementation using Symfony 6, without API Platform

Technical requirements

Build

make build

This command executes the Docker image building process and performs the Composer dependencies installation.


Type make help for more tasks present in Makefile.

Features

  • Authentication
  • Authorization
  • Resources CRUD operations

A light infrastructure is provided with a populated MySQL database with example data and a web server using PHP built-in development server.


Setting up local environment

After the Build step, you can run the containers with Docker Compose (V2)

docker compose up -d

In order to populate test data into the database, you must run the fallowing command:

docker exec -i freepik_php sh -c 'php bin/console hautelook:fixtures:load -n --env=dev --no-bundles'

Run tests

docker exec -i freepik_php sh -c 'vendor/bin/phpunit'

API Documentation

https://documenter.getpostman.com/view/11366921/2s93eVXDeG#introduction

About

This is a coding lab project to test how easy and fast could be an API RESTFull implementation using Symfony 6, without API Platform

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •