An open API service indexing awesome lists of open source software.

https://github.com/bilginnet/iscase


https://github.com/bilginnet/iscase

Last synced: 4 months ago
JSON representation

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 |