Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
devrafx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
devrafx
3y ago
Yeah, I've been thinking that would be nice to create a folder that holds all the json with the data mocked once using your interfaces as reference, that way could be used for unit testing.
2.
▲
Ask HN: Would be good to create a NPM package that creates mocks from TS source?
2 points
by
devrafx
3y ago
|
2 comments
3.
▲
Show HN: I made an open-source TypeScript to JSON for mockering data
(github.com)
3 points
by
devrafx
3y ago
|
0 comments
4.
▲
Show HN: Creating mock data using TypeScript interfaces
(butlermock.online)
57 points
by
devrafx
3y ago
|
0 comments
5.
▲
Show HN: Simple open-source tool for mocking using TS interfaces
(github.com)
3 points
by
devrafx
3y ago
|
0 comments
6.
▲
by
devrafx
3y ago
If you are that fast, just check the main.js in the src folder, there you will see the query params it just a GET :) When running, just go to the '/api' endpoint.
7.
▲
by
devrafx
3y ago
I made it, but I have to document that API: avartation-api.vercel.app/api The code source: https://github.com/Devrax/avartation-api
8.
▲
How to TypeScript to JSON with Butlermock
(butlermock.deno.dev)
3 points
by
devrafx
3y ago
|
1 comments
9.
▲
by
devrafx
3y ago
A tool for building mocks from typescript's types/interfaces into object with actual data provided by Fakerjs