Giter Site home page Giter Site logo

robwilde / demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from api-platform/demo

0.0 1.0 0.0 6.38 MB

Demo app for the API Platform framework

Home Page: https://demo.api-platform.com

License: MIT License

PHP 24.35% Shell 2.59% JavaScript 0.48% Dockerfile 2.10% Twig 0.25% Smarty 1.18% TypeScript 69.04%

demo's Introduction

API Platform

This application is a demonstration for the API Platform Framework. Try it online at https://demo.api-platform.com.

GitHub Actions GitHub Actions

Install

Read the official "Getting Started" guide.

$ git clone https://github.com/api-platform/demo.git
$ cd demo
$ docker-compose up -d

You can now go to https://localhost

What can I find in this demo?

This demo application contains several things you may be interested.

API Testing

All entities used in this project are thoroughly tested. Each test class extends the ApiTestCase, which contains specific API assertions. It will make your tests much more straightforward than using the standard WebTestCase provided by Symfony.

Custom data provider

This example shows how to expose a CSV file as a standard API Platform endpoint. It also shows how to make this endpoint paginated with an extension.

Overriding the OpenAPI Specification

This example shows how to document an API endpoint that isn't handled by API Platform. This "legacy" endpoint is listed and testable like the other ones thanks to the Swagger interface.

Contributing

Read the contributing guide

Credits

Created by Kévin Dunglas. Commercial support available at Les-Tilleuls.coop.

demo's People

Contributors

vincentchalamon avatar dunglas avatar pborreli avatar mathieudewet avatar alanpoulain avatar teohhanhui avatar dependabot[bot] avatar coil avatar soyuka avatar strikerrus avatar wiese avatar tattali avatar darthf1 avatar clementtalleu avatar chris53897 avatar aaa2000 avatar tony-tran avatar thcolin avatar renrhaf avatar toofff avatar roukmoute avatar gregcop1 avatar drachenkaetzchen avatar fbourigault avatar jewome62 avatar dmerchier avatar

Watchers

James Cloos 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.