Coder Social home page Coder Social logo

cap-coding / symfony_api Goto Github PK

View Code? Open in Web Editor NEW
33.0 33.0 15.0 255 KB

Simple CRUD API service based on Symfony 5

Home Page: https://www.youtube.com/c/capcoding

License: MIT License

PHP 92.64% Shell 6.23% Twig 1.14%
symfony symfony-api symfony-forms symfony-tutorial symfony5 tutorial video

symfony_api's Introduction

How to build simple CRUD API service with Symfony 5 (for beginners)

Please watch the whole video tutorial here

Create a customer:

curl --location --request POST 'http://localhost:8080/api/v1/customers' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "[email protected]",
    "phoneNumber": "+49116012345678"
}'

Create a product:

curl --location --request POST 'http://localhost:8080/api/v1/products' \
--header 'Content-Type: application/json' \
--data-raw '{
    "code": "test_code",
    "title": "Test title",
    "price": 1234
}'

Create a cart:

curl --location --request POST 'http://localhost:8080/api/v1/customers/cart' \
--header 'Content-Type: application/json' \
--data-raw '{
    "customer": 1,
    "products": [
        1
    ],
    "dateTime": "2020-08-05 12:15:00"
}'

Other video tutorials

Code faster with Github Copilot

There is a video

Create a classic website using Symfony 5

There is a video

Delay "heavy" tasks in Symfony with component Messenger

There is a video

Delay heavy tasks in Symfony with kernel.terminate event to decrease response time

There is a video

Create Symfony 5 project with Docker and Postgres

There is a video

Design pattern "Chain of responsibility" (Symfony implementation)

There is a video

How to use data transfer objects (DTO) in Symfony API application

There is a branch and here is a video

How to build simple CRUD API service with Symfony 5 (for beginners)

There is a branch and here is a video

How to use Symfony Form Events in API service

There is a video

How to use object factories with Symfony Forms

There is a video

Dockerize WordPress

There is a video

Get trusted SSL certificate (https) for free with Let's Encrypt and Certbot

There is a video

symfony_api's People

Contributors

dependabot[bot] avatar kurakin-oleksandr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.