https://github.com/yenilikci/codeigniter-api
create rest api with codeigniter and vue.js
https://github.com/yenilikci/codeigniter-api
codeigniter json rest-api vue-router vuejs vuex
Last synced: 9 months ago
JSON representation
create rest api with codeigniter and vue.js
- Host: GitHub
- URL: https://github.com/yenilikci/codeigniter-api
- Owner: yenilikci
- Created: 2021-07-28T23:33:25.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-30T20:30:30.000Z (over 4 years ago)
- Last Synced: 2025-01-17T07:31:57.480Z (11 months ago)
- Topics: codeigniter, json, rest-api, vue-router, vuejs, vuex
- Language: PHP
- Homepage:
- Size: 1.8 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# codeigniter-api w/ vue.js
## client
### path "/" (no record)

### path "/new"

### path "/" (records added)

### path "/update"

## api
### endpoint "/api/get_all_data"

## sql
```sql
-- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Anamakine: 127.0.0.1
-- Üretim Zamanı: 30 Tem 2021, 22:20:08
-- Sunucu sürümü: 10.4.20-MariaDB
-- PHP Sürümü: 8.0.8
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Veritabanı: `course_coupons`
--
-- --------------------------------------------------------
--
-- Tablo için tablo yapısı `courses`
--
CREATE TABLE `courses` (
`id` int(11) NOT NULL,
`title` varchar(100) NOT NULL,
`couponCode` varchar(10) NOT NULL,
`price` float(10,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Tablo döküm verisi `courses`
--
INSERT INTO `courses` (`id`, `title`, `couponCode`, `price`) VALUES
(1, 'Codeigniter Kursu', 'CI3CPN', 50.00),
(2, 'Vue.js Kursu', 'VUEJSCPN', 35.00),
(3, 'Node.js Kursu', 'NODECPN', 75.00),
(4, 'Nuxt.js Kursu', 'NUXTCPN', 45.00),
(5, 'Go Echo Framework Kursu', 'GOECHOCPN', 80.00),
(6, 'Laravel 8 Kursu', 'LRVL8CPN', 45.00),
(7, 'Flutter Kursu', 'FLUTTERCPN', 50.00),
(8, 'React Native Kursu', 'RNCRSCPN', 60.00);
--
-- Dökümü yapılmış tablolar için indeksler
--
--
-- Tablo için indeksler `courses`
--
ALTER TABLE `courses`
ADD PRIMARY KEY (`id`);
--
-- Dökümü yapılmış tablolar için AUTO_INCREMENT değeri
--
--
-- Tablo için AUTO_INCREMENT değeri `courses`
--
ALTER TABLE `courses`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
```