GraphQL π₯
A query language for your API π
GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data.
GraphQL provides a complete and understandable description of the data in your API,
gives clients the power to ask for exactly what they need and nothing more,
makes it easier to evolve APIs over time,
and enables powerful developer tools.
http://graphql.org/
https://scaphold.io/
γ°γ°γ°γ°γ°γ°
#GraphQL #API
@ProgrammingTip
A query language for your API π
GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data.
GraphQL provides a complete and understandable description of the data in your API,
gives clients the power to ask for exactly what they need and nothing more,
makes it easier to evolve APIs over time,
and enables powerful developer tools.
http://graphql.org/
https://scaphold.io/
γ°γ°γ°γ°γ°γ°
#GraphQL #API
@ProgrammingTip
graphql.org
GraphQL | A query language for your API
GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data.
JSON Server π₯
Get a full fake REST API with zero coding in less than 30 seconds (seriously) ππ»ββοΈ
Created with β₯οΈ for front-end developers who need a quick back-end for prototyping and mocking. π
https://github.com/typicode/json-server
Fake Online REST API for Testing and Prototyping :
http://jsonplaceholder.typicode.com/
#API #JSON #Mocking
@ProgrammingTip
Get a full fake REST API with zero coding in less than 30 seconds (seriously) ππ»ββοΈ
Created with β₯οΈ for front-end developers who need a quick back-end for prototyping and mocking. π
https://github.com/typicode/json-server
Fake Online REST API for Testing and Prototyping :
http://jsonplaceholder.typicode.com/
#API #JSON #Mocking
@ProgrammingTip
GitHub
GitHub - typicode/json-server: Get a full fake REST API with zero coding in less than 30 seconds (seriously)
Get a full fake REST API with zero coding in less than 30 seconds (seriously) - typicode/json-server
Master Your API Workflow with Postman πΈ
Theyβre doing a great job by providing an integrated environment for different components of an API, like authorization, testing, documentation, versioning. π
https://www.sitepoint.com/master-api-workflow-postman/
#API #Postman
@ProgrammingTip
Theyβre doing a great job by providing an integrated environment for different components of an API, like authorization, testing, documentation, versioning. π
https://www.sitepoint.com/master-api-workflow-postman/
#API #Postman
@ProgrammingTip
Sitepoint
How to Master Your API Workflow with Postman β SitePoint
Younes present Postman - the API development tool of choice - in comprehensive detail. There's never been a better way to improve your API dev workflow!
API Feature Folders β‘οΈ
In ASP.NET Core (and unlike ASP.NET 5 / Web API 2), Web API controllers are just controllers. π
You donβt need to inherit from a different base type or anything like that. β
Whatβs more, your API controllers should be returning DTOs that are separate from your underlying domain or data model. βοΈ
What Iβve found to be a better organization is to do away with the Controllers folder (or keep it around if youβre using view-based controllers) and instead use feature folders for your APIs. π
Iβm partial to having a root level API folder but if youβd prefer to put your features in the root of the project that would work, too. ππ»
Within each feature folder, you include the controller along with any model types it needs to work with, like this πΎ :
https://t.me/pgimg/124
Obviously one benefit of this approach is that itβs more cohesive. β
Things that change together are located physically next to one another, and the friction involved in moving between different folders with too many files in them is greatly reduced. βοΈ
Another nice thing about this approach is that it just works. Unlike view-based controllers, you donβt need to change anything about how ASP.NET Core is configured to have this organization structure work for you. β¨
[ Article ] : bit.do/apif
γ°γ°γ°γ°γ°γ°
#AspMvc #Core #API
@ProgrammingTip
In ASP.NET Core (and unlike ASP.NET 5 / Web API 2), Web API controllers are just controllers. π
You donβt need to inherit from a different base type or anything like that. β
Whatβs more, your API controllers should be returning DTOs that are separate from your underlying domain or data model. βοΈ
What Iβve found to be a better organization is to do away with the Controllers folder (or keep it around if youβre using view-based controllers) and instead use feature folders for your APIs. π
Iβm partial to having a root level API folder but if youβd prefer to put your features in the root of the project that would work, too. ππ»
Within each feature folder, you include the controller along with any model types it needs to work with, like this πΎ :
https://t.me/pgimg/124
Obviously one benefit of this approach is that itβs more cohesive. β
Things that change together are located physically next to one another, and the friction involved in moving between different folders with too many files in them is greatly reduced. βοΈ
Another nice thing about this approach is that it just works. Unlike view-based controllers, you donβt need to change anything about how ASP.NET Core is configured to have this organization structure work for you. β¨
[ Article ] : bit.do/apif
γ°γ°γ°γ°γ°γ°
#AspMvc #Core #API
@ProgrammingTip
Telegram
Programming Tips Resources
Auto Rest β¨
OpenAPI (f.k.a Swagger) Specification code generator. π
Supports C#, Go, Java, Node.js, TypeScript, Python, Ruby and PHP. π₯
The AutoRest tool generates client libraries for accessing RESTful web services. β‘οΈ
Input to AutoRest is a spec that describes the REST API using the OpenAPI Specification format. β
https://t.me/pgimg/187
[ Introduction ] : kutt.it/ares
[ Github ] : github.com/Azure/autorest
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#Rest #API #OpenAPI #Swagger
@ProgrammingTip
OpenAPI (f.k.a Swagger) Specification code generator. π
Supports C#, Go, Java, Node.js, TypeScript, Python, Ruby and PHP. π₯
The AutoRest tool generates client libraries for accessing RESTful web services. β‘οΈ
Input to AutoRest is a spec that describes the REST API using the OpenAPI Specification format. β
https://t.me/pgimg/187
[ Introduction ] : kutt.it/ares
[ Github ] : github.com/Azure/autorest
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#Rest #API #OpenAPI #Swagger
@ProgrammingTip
Telegram
Programming Tips Resources
Newsletter π
In this newsletter, we will talk about the following:
β’ Retry patterns β»οΈ
β’ Evolution of the Netflix API architecture π
β’ How does stop loss workβ
β’ Chaos Engineering π€―
[ Article ] : https://kutt.it/newsletter1
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#Newsletter #Retry #Chaos_Engineering #API_Gateway
@ProgrammingTip
In this newsletter, we will talk about the following:
β’ Retry patterns β»οΈ
β’ Evolution of the Netflix API architecture π
β’ How does stop loss workβ
β’ Chaos Engineering π€―
[ Article ] : https://kutt.it/newsletter1
γ°οΈγ°οΈγ°οΈγ°οΈγ°οΈγ°οΈ
#Newsletter #Retry #Chaos_Engineering #API_Gateway
@ProgrammingTip
Telegram
Programming Tips Resources