Coder Social home page Coder Social logo

symfony-todo-rest's Introduction

symfony-todo-rest

A simple RESTful API for ToDo items based on Symfony 5.

CI Status GitHub last commit Scrutinizer Code Quality PHPStan

Features

  • Request validation
  • Serialization of entities to json and deserialization from json to entities using symfony/serializer
  • Generated Swagger Documentation based on Code and Annotations (nelmio/api-doc-bundle)
  • Centralized Exception Handler always returns JSON responses when an exception occurs
  • Usage of Doctrine Param Converter

Infrastructure

  • PHP 7.4
  • PostgreSQL 13
  • Symfony 5.2
  • Doctrine ORM
  • Nginx

Dev Tools

  • phpstan
  • php-cs-fixer
  • Xdebug 3
  • Composer 2
  • PHPUnit
  • GitHub Workflow

Setup

Browse to directory dev

make setup

Run

  1. Browse to directory dev
  2. make start to start docker containers
  3. Request endpoints (see Postman Collection (dev/Symfony ToDo.postman_collection.json))

See API Documentation: http://symfony-todo-rest.dev.local:8100/api/doc

ToDo

  • GET all: pagination
  • GET all: sorting
  • GET all: filter
  • Authentication (JWT)

symfony-todo-rest's People

Contributors

svnldwg avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar

symfony-todo-rest's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.