Coder Social home page Coder Social logo

react-yazi-yorum's Introduction

API Erişim Noktaları

API Erişim Adresi: https://react-yazi-yorum.herokuapp.com/
Postman Collection: https://www.getpostman.com/collections/702cbcc6cb3a353fdf12
Metod Erişim Noktası Açıklama
GET /posts Veritabanındaki tüm yazıları dizi olarak döndürür. Sistemde hiç yazı olmaması durumunda boş dizi döndürür.
GET /posts/:id Verilen id değeriyle eşleşen yazı objesi döndürür. Eşleşme olmadığında hata objesi döndürür.
GET /posts/latest-comments Veritabanındaki tüm yazılara gelen son 10 yorumu döndürür. Yorum olmadığında boş dizi döndürür.
GET /posts/:post_id/comments Belirtilen yazı id'ye ait yorumları döndürür. Hiç yorum olmaması durumunda boş dizi döndürür.
POST /posts Veritabanına yazı girişi buradan yapılır. title ve content alanları zorunludur. Giriş başarılı olduysa girilen yazı objesini döndürür.
POST /posts/:post_id/comments Veritabanına yorum girişi buradan yapılır. display_name ve body alanları zorunludur. Giriş başarılı olduysa girilen yorum objesini döndürür.
PUT /posts/:id Veritabanındaki yazıların düzenlenmesi buradan yapılır. title ve content üzerindeki değişiklikler başarılı olduysa güncellenen yazı objesini döndürür.
PUT /posts/:post_id/comments/:id Veritabanındaki yorumların düzenlenmesi buradan yapılır. body üzerindeki değişiklikler başarılı olduysa güncellenen yorum objesini döndürür. display_name değiştirilemez.
DELETE /posts/:id/ Veritabanındaki yazıların silinmesi buradan yapılır. Silinme işlemi başarılı olduğunda HTTP durum kodu 204 döndürülür.
DELETE /posts/:post_id/comments/:id Veritabanındaki yorumların silinmesi buradan yapılır. Silinme işlemi başarılı olduğunda HTTP durum kodu 204 döndürülür.

react-yazi-yorum's People

Contributors

dependabot[bot] avatar hakandemiral avatar reactdersleri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.