node-typescript-architecture
fullstack-starter-template
node-typescript-architecture | fullstack-starter-template | |
---|---|---|
8 | 5 | |
113 | 166 | |
- | - | |
3.5 | 4.1 | |
6 months ago | 7 months ago | |
TypeScript | TypeScript | |
- | - |
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.
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
fullstack-starter-template
-
Will you, and when will you, use trpc in your code?
I am using it for one of my projects (together with Fastify, Zod, Prisma). I also open sourced the starter template for it: https://github.com/Sairyss/fullstack-starter-template
-
Best file structure for node js project
For example, in this repo, DTOs are just a zod schema for inputs, and interfaces/types for output: https://github.com/Sairyss/fullstack-starter-template
- Template for full stack applications based on TypeScript, React, Vite, ChakraUI, tRPC, Fastify, Prisma, zod, etc.
What are some alternatives?
domain-driven-hexagon - Learn Domain-Driven Design, software architecture, design patterns, best practices. Code examples included
maya - A fullstack app with end-to-end type safety. Built with TypeScript, tRPC, React, Express, PG-Promise
io-ts-promise - io-ts for developers who like Promises
fastapi-fullstack-boilerplate - A full stack boilerplate for FastAPI [Moved to: https://github.com/tmkontra/fastapi-fullstack-boilerplate]
openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
nodebestpractices - :white_check_mark: The Node.js best practices list (February 2024)
create-t3-app - The best way to start a full-stack, typesafe Next.js app
clog - CLOG - The Common Lisp Omnificent GUI
trpc-openapi - OpenAPI support for tRPC 🧩
remix - Build Better Websites. Create modern, resilient user experiences with web fundamentals.
vite-svelte-trpc - Vite + Svelte + tRPC template