v0.2.1
Deno&GraphQL API - QuickStart - eCommerce - Template
Repository
Current version released
3 years ago
Versions
GraphQL API with Deno - QuickStart - eCommerce - Template
This is a REST API using Deno, Oak and GraphQL
Run
# This project uses Denon
deno run server.tsOperations
Query
allProducts(price: Float, name: String): fetch all products, with conditional filters such as price(items lower than this price) and name(items with this name)
findProduct(id: Int!): fetch a product by idMutation
addProduct(name: String!, price: Float!, description: String!): add a new product
updatePrice: update the price of a certain product
deleteProduct(id: Int!): delete a product by id