Content
@
0 reply
0 recast
0 reaction
Samuel
@samuellhuber.eth
If you don't appreciate this, you're not a passionate dev! I define my API once. Then I can create as many implementations as I want. maybe for testing, different bis cases whatever. And throughout I always have type safety that is not only data types/schema but ALSO API SCHEMA!!!! Yes the API Schema you declared to be your API YES! using effect-ts new platform package that integrated the community http api package https://github.com/Effect-TS/effect/tree/main/packages/platform
2 replies
0 recast
3 reactions
ns
@nickysap
Need to check this out
1 reply
0 recast
1 reaction
Samuel
@samuellhuber.eth
go from here to serving the API https://github.com/Effect-TS/effect/tree/main/packages/platform#implementing-a-server and you'll run and play around with this in 5-10 mins
1 reply
0 recast
1 reaction