company sadeleştirme devam
This commit is contained in:
parent
24d65547b1
commit
deaf714fe8
8 changed files with 4 additions and 4 deletions
|
|
@ -6,7 +6,7 @@ Bu dokümantasyon, Company uygulamasına yapılan API entegrasyonu, üyelik sist
|
||||||
|
|
||||||
### 1. API Entegrasyonu
|
### 1. API Entegrasyonu
|
||||||
- **Axios** ve **React Query** kullanılarak API yapısı kuruldu
|
- **Axios** ve **React Query** kullanılarak API yapısı kuruldu
|
||||||
- API servis katmanı oluşturuldu (`/src/services/api/`)
|
- API servis katmanı oluşturuldu (`/src/services/`)
|
||||||
- Interceptor'lar ile otomatik token yönetimi eklendi
|
- Interceptor'lar ile otomatik token yönetimi eklendi
|
||||||
|
|
||||||
### 2. Üyelik Sistemi
|
### 2. Üyelik Sistemi
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import {
|
||||||
blogService,
|
blogService,
|
||||||
BlogPost,
|
BlogPost,
|
||||||
BlogCategory,
|
BlogCategory,
|
||||||
} from "../services/api/blog.service";
|
} from "../services/blog.service";
|
||||||
import { format } from "date-fns";
|
import { format } from "date-fns";
|
||||||
import { tr } from "date-fns/locale";
|
import { tr } from "date-fns/locale";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { useState, useEffect } from "react";
|
import React, { useState, useEffect } from "react";
|
||||||
import { Link, useParams } from "react-router-dom";
|
import { Link, useParams } from "react-router-dom";
|
||||||
import { useLanguage } from "../context/LanguageContext";
|
import { useLanguage } from "../context/LanguageContext";
|
||||||
import { BlogPost, blogService } from "../services/api/blog.service";
|
import { BlogPost, blogService } from "../services/blog.service";
|
||||||
import { format } from "date-fns";
|
import { format } from "date-fns";
|
||||||
import { tr } from "date-fns/locale";
|
import { tr } from "date-fns/locale";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { useEffect, useState } from "react";
|
import React, { useEffect, useState } from "react";
|
||||||
import { useLanguage } from "../context/LanguageContext";
|
import { useLanguage } from "../context/LanguageContext";
|
||||||
import { demoService } from "../services/api/demo.service";
|
import { demoService } from "../services/demo.service";
|
||||||
import {
|
import {
|
||||||
Building2,
|
Building2,
|
||||||
User,
|
User,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue