https://github.com/bilginnet/iscase
https://github.com/bilginnet/iscase
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bilginnet/iscase
- Owner: bilginnet
- Created: 2021-11-07T21:29:21.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-31T15:11:58.000Z (over 2 years ago)
- Last Synced: 2024-12-30T20:17:52.658Z (over 1 year ago)
- Language: PHP
- Size: 80.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# _Sipariş ve İndirim Modülü_
## Kullanılan Teknolojiler
- Laravel
- Rest Api
- Git
## Kurulum
.env.example dosyası .env olarak kopyalandıktan sonra .env dosyası üzerinde
veritabanı ayarları yapılması gerekmektedir.
```sh
git clone https://github.com/bilginnet/iscase.git
cd iscase
cp .env.example .env
composer install
php artisan migrate
php artisan db:seed
php artisan serve
```
## REST API
Aşağıda mevcut endpointlerin listesi verilmiştir.
| Action | Method | Url |
| ------ | ------ | ------ |
| Login | POST | localhost:8000/api/login |
| Create Order | POST | localhost:8000/api/order |
| Delete Order | DELETE | localhost:8000/api/order/5 |
| All Orders | GET | localhost:8000/api/order |
| Discount | GET | localhost:8000/api/discount/5 |