json-api
grpc-swift
json-api | grpc-swift | |
---|---|---|
69 | 8 | |
7,624 | 2,178 | |
0.3% | 0.3% | |
6.7 | 8.0 | |
6 months ago | about 1 month ago | |
CSS | Swift | |
Creative Commons Zero v1.0 Universal | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
json-api
-
Show HN: Aura – Like robots.txt, but for AI actions
Why reinvent the wheel poorly when you have a hundred of solutions like https://jsonapi.org/?
-
Build Real-Time Knowledge Graph for Documents with LLM
For context, the subject-predicate-object pattern is known as a semantic triple or Resource Description Framework (RDF) triple:
https://en.wikipedia.org/wiki/Semantic_triple
They're useful for storing social network graph data, for example, and can be expressed using standards like Open Graph and JSONAPI:
https://ogp.me
https://jsonapi.org
I've stored RDF triples in database tables and experimented with query concepts from neo4j:
https://neo4j.com/docs/getting-started/data-modeling/tutoria...
These are straightforward to translate to SQL but the syntax can get messy due to not always having foreign keys available and hitting limitations with polymorphic relationships. Some object-relational mapping (ORM) frameworks help with this:
https://laravel.com/docs/12.x/eloquent-relationships#polymor...
I feel that document-oriented databases like MongoDB jumped the gun a bit, and would have preferred to have had graph-oriented or key-value-oriented databases providing row/column/document oriented queries and views. Going the other way feels a bit kludgy to me:
https://www.mongodb.com/resources/basics/databases/mongodb-g...
Basically Set Theory internally with multiple query languages externally and indexed by default.
Oh and have all writes generate an event stream like Firebase does so we can easily build reactive apps.
-
OSF API: The Complete Guide
Built on JSON API standards, the OSF API is intuitive for anyone familiar with REST conventions. Once you learn its core patterns, you can quickly expand into project creation, user collaboration, and more—without constantly referencing documentation. The official OSF API docs provide everything needed to get started.
-
Common Mistakes in RESTful API Design
Following established patterns reduces the learning curve for your API. Adopt conventions from JSON:API or Microsoft API Guidelines to provide consistent experiences.
-
Starting the Console front-end for Rainbow Platform
I’ve used both GraphQL and REST in the past. From json:api to Relay, each approach for building APIs has its pros and cons. However, a constant challenge is choosing between code-first and schema-first approaches.
-
One Minute: DatAasee
Features: REST-like CQRS HTTP-API, Faceted Search, Full-text Search Interface: OpenAPI, JSON, JSON API, JSON Schema Query Languages: SQL dialect, Cypher, Gremlin, MQL, GraphQL Ingest Protocols: OAI-PMH, S3 Ingest Encoding: XML Ingest Formats: DataCite, DublinCore, MARC, MODS Deployment: Compose, Docker-Compose, Podman-Compose, K8s (via Kompose) Components: ArcadeDB, Connect, Lowdefy License: MIT
- JSON: API – A Specification for Building APIs in JSON
-
REST API: Best practices and design
There is a group of people who set out to standardize JSON responses into a single response style, either for returning single or multiple resources. You can take their style as a reference when designing their API to ensure uniformity of responses.
-
Path To A Clean(er) React Architecture - Domain Entities & DTOs
The server seems to be using the popular JSON:API standard which is a great way to build APIs. But should we really use these data structures in the frontend?
-
Path To A Clean(er) React Architecture - API Layer & Data Transformations
Note: You think the response data structure with the data field and the included field with mixed data types looks weird? You might not have encountered the popular JSON:API standard yet.
grpc-swift
- LinkedIn Adopts Protocol Buffers and Reduces Latency Up to 60%
- Trouble building for ios device
-
anyone has used grpc in iOS app?
Did you have a look at examples on grpc-swift ?
-
Considering gRPC-C++ for an iOS project
You don’t want to use the Swift version?
-
Fullstack grpc tutorials?
The Basic Tutorial or examples from the gRPG-Swift repository might be useful to you as well.
-
Application design: communication from Rust to another language
At the moment I would recommend gRPC for Swift and Rust, even though in general gRPC drives me insane, it is currently the most convenient choice. Use tonic for the Rust server-side, and grpc-swift for the client-side. I've had quite a lot of success with this in the past.
- gRPC Implementation in Swift
-
REST vs. gRPC vs. GraphQL
Swift is at least supported via Objective-C, and swift-grpc looks solid https://github.com/grpc/grpc-swift
What are some alternatives?
tinybase - A reactive data store & sync engine.
hasura-cms - Automatically exposed GraphQL API via Hasura with schema + permissions for GraphCMS-like handling of content types
api-guidelines - Microsoft REST API Guidelines
grpc-over-webrtc - gRPC over WebRTC
zenstack - Full-Stack TypeScript toolkit that enhances Prisma ORM with flexible Authorization layer for RBAC/ABAC/PBAC/ReBAC, offering auto-generated type-safe APIs and frontend hooks.
rules_xcodeproj - Bazel rules for generating Xcode projects.