- MySQL
- PHP >= 7.2
- Composer
- git clone https://github.com/aythanztdev/prbtcnccl.git
- cd prbtcnccl
- Set your datababase credentials in .env
- composer install
- php bin/console doctrine:migrations:migrate
- php bin/console server:run
-
Category
- Create category in /api/category (POST)
- Edit category in /api/category (PUT)
- Delete category in /api/category (DELETE)
-
Product
- Create product in /api/product (POST)
- Get products in /api/products (GET)
- Get featured products in /api/products/featured (GET). In this case, you can add ?currency=EUR or ?currency=USD for getting products with price converted
If you check data directory, you will have a mysql dump with example data. You have a postman json for using it if you want to make actions.