ahmetkorkmaz3 / simple-api-with-graphql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to simple-blog-api-with-graphql 👋

Version License: MIT

Simple blog api with graphql

localhost:8000/graphql adresinden sorgu işlemleri yapabilirsiniz.

Request atmak için localhost:8000/graphql endpoint'ine POST method, Content-Type: application/json ve body içerisinde "query" parametresi yollayarak yapabilirsiniz.

Example Request

  • curl -XPOST -H "Content-type: application/json" -d '{"query": "{blogs{_id,title,content,user{_id,name,surname}}}"}' 'http://localhost:8000/graphql'

Screenshot

Install

npm install

Usage

npm start

Author

👤 Ahmet Korkmaz muratahmetkorkmaz@hotmail.com

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

About


Languages

Language:JavaScript 100.0%