Skip to content

API REST - Level 3 of Richardson maturity model with cache management. Project 7 of the Developer PHP / Symfony formation of Openclassroom.

Notifications You must be signed in to change notification settings

leCheveuCodeur/API_BileMo

Repository files navigation

API BileMo Codacy Badge Maintainability

Description

This project is the 7th project of the Developer PHP / Symfony formation of Openclassrooms.

The goal of this project to make an API that respect the level 3 of Richardson maturity model with cache management.

Concerning the authentication it's managed via JWT Token and Refresh Token

How it work

bilemo_doc_nelmio.png

bilemo_demo.gif

Build with

Server :

Framework & Libraries :

Installation

Clone or download the repository, and put files into your environment,

https://github.com/leCheveuCodeur/API_BileMo.git

Install libraries with composer,

composer install

Configure your environment with .env file :

# DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=8"


###> INIT CUSTOMER ###
CUSTOMER_COMPANY='your_company'
CUSTOMER_EMAIL='your_email_company@email.com'
CUSTOMER_PASSWORD='your_password'
###< INIT CUSTOMER ###

Initialise your Database :

1 - create your database :

php bin/console d:d:c

2 - create the structure in your database :

php bin/console d:m:m

3 - and install fixturesfor have first contents and your Admin account :

php bin/console d:f:l -n

Generate your SSL keys

php bin/console lexik:jwt:generate-keypair

And Voilà !

Access to API documentation

  • Json documentation: /api/doc.json
  • Html interactive documentation: /api/doc

About

API REST - Level 3 of Richardson maturity model with cache management. Project 7 of the Developer PHP / Symfony formation of Openclassroom.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published