rivets
node-typescript-architecture
rivets | node-typescript-architecture | |
---|---|---|
3 | 8 | |
3,230 | 113 | |
- | - | |
0.0 | 3.5 | |
about 4 years ago | 5 months ago | |
JavaScript | 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.
rivets
-
Ask HN: Web frameworks – which less popular framework are you using and why?
I use http://rivetsjs.com/ in a production intranet project. At the time I started using it I wanted a lightweight alternative to angular/vuejs. I didn’t want the junior devs at the customer to have to learn webpack, etc, but I did want two way data binding, and wanted as lightweight as possible. It has met those needs, and more - it supports creating web components so has let me do reusable code bits also. My main gripe is it’s somewhat stagnant, and there isn’t the ecosystem of components and help like vue or angular.
Still, I’d recommend it for small projects where you need binding.
- Starting with shopify.
- Exprimentando Vue.js - aplicando no /dev/All
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?
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
domain-driven-hexagon - Learn Domain-Driven Design, software architecture, design patterns, best practices. Code examples included
knockout - Knockout makes it easier to create rich, responsive UIs with JavaScript
io-ts-promise - io-ts for developers who like Promises
React - The library for web and native user interfaces.
fastapi-fullstack-boilerplate - A full stack boilerplate for FastAPI [Moved to: https://github.com/tmkontra/fastapi-fullstack-boilerplate]
AngularJS - AngularJS - HTML enhanced for web apps!
fullstack-starter-template - Template for full stack applications based on TypeScript, React, Vite, ChakraUI, tRPC, Fastify, Prisma, zod, etc.
Stimulus - A modest JavaScript framework for the HTML you already have [Moved to: https://github.com/hotwired/stimulus]
nodebestpractices - :white_check_mark: The Node.js best practices list (February 2024)
ractive - Next-generation DOM manipulation
clog - CLOG - The Common Lisp Omnificent GUI