Coder Social home page Coder Social logo

slim-sandwich's Introduction

API - slim-sandwich

api listant les sandwichs

BDD File => sql/bdd.sql

3 serveurs :

Requetes api public :

http://api.lbs.local:10080

Requete api privée :

http://api.lbs.private.local:7081

Backend de gestion :

http://api.lbs.backend:7080

Adminer : installer la bdd

http://api.lbs.local:8080/

Documentation API

/private_docs

/backend_docs

/public_docs

Prérequis

Nécéssite Composer

Installation

Récupération du projet

Clone le depot git
Importation de la BDD 
Configuration du fichier src/conf/lbs.db.conf.ini pour adminer
docker-compose up
docker-compose start
Dans /src composer install

Fait avec

Use

Routes

Catégories

Accéder à la liste des catégories: (via un get)

categories

Accéder à une catégorie: (via un get)

categories/{id}

Créer une catégorie: (via un post)

categories

Modifier une catégorie: (via un put)

categories/{id}

Sandwichs

Accéder à la liste des sandwichs: (via un get)

sandwichs

Accéder à un sandwich: (via un get)

sandwichs/{id}

Paramètres possibles:

sandwichs?type=&img=&page=&size=

slim-sandwich's People

Contributors

dev-yann avatar nbobelet avatar

Watchers

James Cloos avatar

Forkers

skcyber00

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.