Coder Social home page Coder Social logo

p7-bilemo-apip's Introduction

Bilemo

BileMo est une entreprise offrant toute une sélection de téléphones mobiles haut de gamme.

Vous êtes en charge du développement de la vitrine de téléphones mobiles de l’entreprise BileMo. Le business modèle de BileMo n’est pas de vendre directement ses produits sur le site web, mais de fournir à toutes les plateformes qui le souhaitent l’accès au catalogue via une API (Application Programming Interface). Il s’agit donc de vente exclusivement en B2B (business to business).

Il va falloir que vous exposiez un certain nombre d’API pour que les applications des autres plateformes web puissent effectuer des opérations.

Il doit être possible de :

  • consulter la liste des produits BileMo
  • consulter les détails d’un produit BileMo
  • consulter la liste des utilisateurs inscrits liés à un client sur le site web
  • consulter le détail d’un utilisateur inscrit lié à un client
  • ajouter un nouvel utilisateur lié à un client
  • supprimer un utilisateur ajouté par un client.

Seuls les clients référencés peuvent accéder aux API. Les clients de l’API doivent être authentifiés via OAuth ou JWT.

Run Locally

Clone the project

  [email protected]:Redpanda2/P7-Bilemo-Apip.git

Run the docker-compose

  docker-compose up -d --build

Install the project

composer install

Configure database connexion(no password required)

  DATABASE_URL="mysql://127.0.0.1:3308/bilemo?sslmode=disable&charset=utf8mb4"

Create database and install it (in www container)

  php bin/console doctrine:database:create

Update schema

  php bin/console doctrine:schema:update -f

Load Fixtures

  php bin/console doctrine:fixtures:load --no-interaction

Reload Fixtures after change

  composer prepare

Start the docker container

  docker start <container_name>

Start the HTTP server in daemon

  symfony serve -d

Credentials to login

  username: [email protected]
  password: '12345678'

Requirements

  • PHP 8.0
  • Docker
  • Docker-compose

p7-bilemo-apip's People

Contributors

abhas-dev avatar

Stargazers

 avatar

Watchers

 avatar

p7-bilemo-apip'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.