io-ts-promise
node-typescript-architecture
Our great sponsors
io-ts-promise | node-typescript-architecture | |
---|---|---|
1 | 8 | |
73 | 113 | |
- | - | |
0.0 | 3.5 | |
over 1 year ago | 5 months ago | |
TypeScript | TypeScript | |
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.
io-ts-promise
-
Notes on Advanced TypeScript: Runtime Validations
There are more improvements we could make, but we should have a basic understanding of why it might be useful to validate any external data at runtime. io-ts offers more features handling recursive and optional types. Furthermore there are libraries like io-ts-promise that provide more features and useful helpers, the above decodePromise, for example, is available in a more advanced variant via io-ts-promise.
node-typescript-architecture
-
Best file structure for node js project
It's opinionated, and it's self promotion, but this is what I've used for every project of mine since 2020: https://github.com/jbreckmckye/node-typescript-architecture
-
Ask HN: Web frameworks – which less popular framework are you using and why?
Self-plug: I wrote this Node / TypeScript port of "clean architecture" to typed, functional JavaScript two years ago - and it's served me well on every production project ever since
https://github.com/jbreckmckye/node-typescript-architecture
-
Moving to NodeJS
Node TypeScript Architecture repo by Jimmy Breck-McKye (https://github.com/jbreckmckye/node-typescript-architecture) as a fan of TypeScript this will be extremely helpful for me to see how to structure a TS based Node app
-
How do people find time and energy for (large) side projects?
I would also say that certain practices are invaluable for working efficiently, just as they are in a job. I don't unit test my open source work particularly religiously - to be honest, I don't feel it gives me much more confidence. But I do have a personal architecture (based on ports and adapters, if you're interested), that I stick to because it always allows me to keep my pure logic and IO / effects code strictly separated.
-
Reference Design/Architecture document
May I share this? https://github.com/jbreckmckye/node-typescript-architecture
- Domain-Driven Hexagon - DDD, architecture, best practices (Full project using NestJS)
- NTA: An opinionated (work in progress) architecture for writing Node TypeScript apps, with functional DI/IOC and runtime type validation
- Show HN: An opinionated architecture for Node/TypeScript apps
What are some alternatives?
serialport - Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!
domain-driven-hexagon - Learn Domain-Driven Design, software architecture, design patterns, best practices. Code examples included
resolvers - 📋 Validation resolvers: Yup, Zod, AJV, Joi, Superstruct, Vest, class-validator, io-ts, typanion, Ajv, TypeBox, Valibot and nope.
fastapi-fullstack-boilerplate - A full stack boilerplate for FastAPI [Moved to: https://github.com/tmkontra/fastapi-fullstack-boilerplate]
io-ts - Runtime type system for IO decoding/encoding
fullstack-starter-template - Template for full stack applications based on TypeScript, React, Vite, ChakraUI, tRPC, Fastify, Prisma, zod, etc.
runtyping - Generate runtype validation from static types & JSON schema.
nodebestpractices - :white_check_mark: The Node.js best practices list (February 2024)
mutoid - Reactive library for data fetching, caching, state management
clog - CLOG - The Common Lisp Omnificent GUI
remix - Build Better Websites. Create modern, resilient user experiences with web fundamentals.
rivets - Lightweight and powerful data binding.