Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 518 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 518 Bytes

graphql-yoga-cookies

This project demonstrates how to set and get cookies in a GraphQL server using graphql-yoga

Getting Started

# Install dependencies
npm install

# Start server
npm start

Sample Queries

mutation SetCookie {
  setCookie(name: "session", value: "eyjh.....")
}

query GetCookie {
  cookie(name: "session")
}

License

This project is licensed under the MIT License - see the LICENSE file for details