Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abbasfisal/orderfilter
simple laravel api web app
https://github.com/abbasfisal/orderfilter
repository
Last synced: 26 days ago
JSON representation
simple laravel api web app
- Host: GitHub
- URL: https://github.com/abbasfisal/orderfilter
- Owner: abbasfisal
- Created: 2024-05-01T04:03:21.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-05-01T04:09:21.000Z (9 months ago)
- Last Synced: 2024-11-07T23:29:37.250Z (3 months ago)
- Topics: repository
- Language: PHP
- Homepage:
- Size: 77.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🔥 Order Filtering Code Challenge
``note : create a database with name test_db to run tests``
| # | #filers | #e.g |
|:---:|:-----------------------------------------------:|:----------------------------------------------------------------------------------------------------------------:|
| 1 | status [null=false ,0=false,any character=true] | http://127.0.0.1:8000/api/orders/filter?status |
| 2 | national_code | http://127.0.0.1:8000/api/orders/filter?national_code=0000000000 |
| 3 | mobile | http://127.0.0.1:8000/api/orders/filter?mobile=09121111111 |
| 4 | min | http://127.0.0.1:8000/api/orders/filter?min=2000 |
| 5 | max | http://127.0.0.1:8000/api/orders/filter?max=500000 |
| 6 | main and max | http://127.0.0.1:8000/api/orders/filter?min=2000&max=500000 |
| 7 | combination | http://127.0.0.1:8000/api/orders/filter?national_code=0000000000&mobile=09121111111&min=2000&max=500000&status=1 |### result prev
```json
{
"data": [
{
"mobile_number": "09121111111",
"national_code": "0000000000",
"amount": 500000,
"status": "success"
}
]
}
```