Our great sponsors
just-api | http.cat | |
---|---|---|
4 | 69 | |
812 | 2,707 | |
- | 3.3% | |
0.0 | 7.4 | |
over 1 year ago | 29 days ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
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.
just-api
-
REST, GraphQL API testing with declarative YAML specs
would like to introduce Just-API, An open source framework that I built to help people with testing APIs.
- Show HN: Functional Testing of APIs with YAML
-
Front End UI Test Automation With Mock API
To test the API, I recommend a proper API testing framework that can run a full test suite without you having to write a single test case. In this area, I recommend Dredd and schemathesis. These frameworks will get you covered when it comes to ensuring that the API server complies with the API specification. You may find Dredd a bit confusing at the beginning, in which case I recommend a tutorial I wrote a while ago about testing with Dredd. In addition, you can consider using just-apis, which allows you to define your own test cases for the API in YAML files (so no programming required).
- Show HN: Test APIs with YAML
http.cat
-
Ask HN: Happy 404 Day. Whats your favorite 404 error page?
Cats for other HTTP status codes can be found (or not found :-)) one level up
https://http.cat
- HTTP Area Codes
- Lidando com exceções: como fazer erros práticos e elegantes no Express js
- HTTP Cats
-
What I've learnt in 1 month of programming
Whenever we request data or services from a server, it can respond with status codes represented by numbers. You've probably heard of "404" which means "not found", but there are others like "201 - Created" and "500 - Internal Server Error." During one of my mentoring sessions, I was given a website that showcased all these status codes with kitten memes and a brief description. It was fantastic and helped me grasp each one of those statuses better.
- Entendendo os códigos de status HTTP: Um guia teórico para desenvolvedores
- HTTP Status Dogs. Hypertext Transfer Protocol Response Status Codes. and Dogs
-
NestJS tip: how to inject multiple versions of the same provider into one module (e.g.: many Axios instances)
import { Module, OnModuleInit } from '@nestjs/common' import { HttpModule, HttpService } from '@nestjs/axios' import { CatApi } from './cat-api.service' @Module({ imports: [ HttpModule.register({ // line A timeout: 1_000, maxRedirects: 2, baseURL: 'https://http.cat', }), ], providers: [ { provide: CatApi, useExisting: HttpService, // line B } ], exports: [CatApi], // line C }) export class CatApiModule implements OnModuleInit { constructor(private readonly httpService: HttpService) {} onModuleInit() { this.httpService.axiosRef.defaults.headers.common['Accept'] = 'application/json' } }
- I'm a Teapot
- 15 May 2023 - Daily Chat Thread
What are some alternatives?
Schemathesis - Automate your API Testing: catch crashes, validate specs, and save time
httpstatuses - A directory of HTTP Status Codes and code references
LndHub - Wrapper for Lightning Network Daemon. It provides separate accounts for end-users
hiddentools - ✨ Discover a wide collection of unique tools
prism - Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations.
rockstar - The Rockstar programming language specification
dredd - Language-agnostic HTTP API Testing Tool
purest - REST API Client Library
contentful-graphql-vs-rest - A look at the difference between how to fetch and render linked assets and entries in the Rich Text field in Contentful.
curriculum - The open curriculum for learning web development
godog-http-api - Skeleton that allows to write E2E tests for HTTP API with use of framework godog and test library gdutils.