Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@tailcallhq/core-linux-ia32-gnu
Advanced tools
A high-performance GraphQL proxy, optimized for cloud-native environments, covering edge, middle, and service layers.
Tailcall is an open-source solution for building high-performance GraphQL backends.
Please support us by giving the repository a star
npm i -g @tailcallhq/tailcall
yarn global add @tailcallhq/tailcall
brew tap tailcallhq/tailcall
brew install tailcall
curl -sSL https://raw.githubusercontent.com/tailcallhq/tailcall/master/install.sh | bash
docker pull ghcr.io/tailcallhq/tailcall/tc-server
docker run -p 8080:8080 -p 8081:8081 ghcr.io/tailcallhq/tailcall/tc-server
The below file is a standard .graphQL
file, with a few additions such as @server
and @http
directives. So, basically, we specify the GraphQL schema and how to resolve that GraphQL schema in the same file, without having to write any code!
schema
@server(port: 8000, hostname: "0.0.0.0")
@upstream(baseURL: "http://jsonplaceholder.typicode.com", httpCache: 42) {
query: Query
}
type Query {
posts: [Post] @http(path: "/posts")
user(id: Int!): User @http(path: "/users/{{.args.id}}")
}
type User {
id: Int!
name: String!
username: String!
email: String!
phone: String
website: String
}
type Post {
id: Int!
userId: Int!
title: String!
body: String!
user: User @http(path: "/users/{{.value.userId}}")
}
Now, run the following command to start the server with the full path to the jsonplaceholder.graphql file that you created above.
tailcall start ./jsonplaceholder.graphql
Head out to docs to learn about other powerful tailcall features.
Throughput comparison of various GraphQL solutions for a N + 1 query:
query {
posts {
title
body
user {
name
}
}
}
Check out detailed benchmarks on our benchmarking repository.
Your contributions are invaluable! Kindly go through our contribution guidelines if you are a first time contributor.
âď¸ Give us a star.
đ Watch us for updates.
This initiative is protected under the Apache 2.0 License.
FAQs
A high-performance GraphQL proxy, optimized for cloud-native environments, covering edge, middle, and service layers.
We found that @tailcallhq/core-linux-ia32-gnu demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.