This web app works with Symfony v3.3.9 and uses Twig v2.0 (Required php 7.0).
I built this project as part of my php learning with OpenClassRooms.
The goal of this project was to create a products provider with API REST for a mobile phone e-commerce.
- Local server environment or live server
- PHP v7.0
- MySQL v5.0 or higher
-
Clone or download the repository and put files into your environment
-
Install all the project dependencies with
composer install
-
Modify the database parameters if you need to in app/config/parameters.yml
parameters:
database_host: your_host
database_port: your_port
database_name: your_database_name
database_user: your_database_username
database_password: your_database_password
-
Install the database structure and datas with
php bin/console app:load-datas
-
You can access the API documentation at:
yourdomain.domain/doc
-
Enjoy
- Composer - Used for dependency manager
- Doctrine - Used for Object Relational Mapper
- Twig - Used for template engine
- Bootstrap - Used for design and responsive
- jQuery - Used for animations
- FOSUserBundle - Used for users management
- FOSRestBundle - Used for rapidly develop RESTful API's & applications with Symfony
- JMSSerializer - Used to (de-)serialize data of any complexity
- CSAGuzzleBundle - Used to perform HTTP requests very simply
- NelmioApiDocBundle - Used to generate simply a documentation for APIs
- PagerFanta - Used for pagination
- HWIOAuthBundle - Used for OAuth Facebook integration
- BazingaHateoasBundle - Used for Hateoas library integration
See also ismail1432 on whom I can rely on a lot on this project.