by pototo666 on 1/1/23, 10:43 AM with 75 comments
I am a self-taught web developers and I haven't worked for any good companies. There are no seniors reviewing my code.
My code quality can be improved but I don't know how. Maybe reading some good codebase is a way out.
I use React in frontend and express in Backend. Do you know any good OSS projects that use those stacks?
Maybe I should read popular OSS frameworks instead of web app's source code? I am thinking of changing my job, so reading real web app's source code might be more relavant.
I am very thankful for any advices. And Happy New Year!
by FBISurveillance on 1/1/23, 1:24 PM
by Benjamin_Dobell on 1/1/23, 1:32 PM
If you actually want to learn, then take a look at the implementation for stuff like Zod: https://github.com/colinhacks/zod/tree/master/src/helpers
You can do some really powerful stuff that hugely benefits your team. A decent example I stumbled across recently when I went to release my own library (that does the same thing) is https://github.com/leancodepl/ts-routes
by cheeseblubber on 1/1/23, 1:02 PM
by lioeters on 1/1/23, 11:55 AM
Awesome TypeScript - https://github.com/dzharii/awesome-typescript
And here's a list of projects on GitHub tagged with the topic "TypeScript", sorted by most stars. Many build tools I see on the first page, starting with the TypeScript compiler itself - which is an impressive and interesting codebase, but it may not be so suitable for study purpose.
https://github.com/topics/typescript
You might enjoy learning from some books too.
The TypeScript Handbook - https://www.typescriptlang.org/docs/handbook/intro.html
TypeScript Deep Dive - https://basarat.gitbook.io/typescript/
by christofosho on 1/1/23, 5:54 PM
https://type-level-typescript.com/
A short online course about intermediate-to-advanced level TypeScript.
by tuxracer on 1/1/23, 12:09 PM
by mhluongo on 1/1/23, 1:22 PM
by austin-cheney on 1/1/23, 12:44 PM
https://github.com/prettydiff/share-file-systems
Selling points:
* No frameworks and minimal dependencies
* The GUI loads in the browser with full state restoration in about 260ms in Chrome.
* Full peer to peer file system access
* Original WebSocket service support faster than the popular NPM packages (ws, socket.io)
* Peer-to-peer end-to-end test automation in the browser that is faster and easier than the big browser test automation applications (puppeteer, playwrite)
* I am currently working on a streaming command terminal for the browser for support for for things like vim and irssi. The current experimental terminal only supports basic command input/output
by zadler on 1/1/23, 12:29 PM
by sebrindom on 1/1/23, 11:31 AM
It’s an open source commerce engine built in Node w. TypeScript. The domain is fairly easy to wrap your head around and the architecture and code quality are often praised.
by okhobb on 1/1/23, 11:49 AM
by plondon514 on 1/1/23, 1:15 PM
by darkest_ruby on 1/1/23, 11:05 AM
by TowerTall on 1/1/23, 11:19 AM
by m_a_g on 1/1/23, 11:40 AM
by mburst on 1/1/23, 6:16 PM
by dimitropoulos on 1/2/23, 8:45 PM
The type challenges are a great thing to learn with. Admittedly, they're a bit intense but it's a great way to "expand your awareness".
As a shameless self plug, I'm participating in a 140-day long project to do them all (complete with video explanations) that just started yesterday, if you wanna follow along: https://github.com/type-challenges/type-challenges/issues/21...
by nullandvoid on 1/1/23, 11:14 AM
by reducesuffering on 1/1/23, 5:13 PM
by tuan3w on 1/1/23, 12:06 PM
One of the best code base that I have seen, not just TypeScript.
by nomilk on 1/1/23, 1:42 PM
I asked a similar question about ruby some time ago, and came across one good recommendation (https://github.com/sharetribe/sharetribe), but would love to have many more. I'm also self-taught and feel I haven't read enough great ruby code!
by bunnyfoofoo on 1/1/23, 11:00 AM
Check out their apollo-server and apollo-client repos. It’s a very useful codebase to be knowledgeable about. This is something you should mention in an interview as a strong positive if the company wants graphql experience.
by mirekrusin on 1/1/23, 11:46 AM
by joshka on 1/1/23, 12:06 PM
by gherkinnn on 1/1/23, 1:32 PM
Elm specifically will teach you lots on the static types end of things. And it will only take a weekend or so of tinkering to show improvements in your TS life.
by tajaheidkebbie on 1/1/23, 2:03 PM
by zhardy on 1/1/23, 12:59 PM
by fatih-erikli on 1/1/23, 4:45 PM
by tttcos on 1/1/23, 3:58 PM
by schwartzworld on 1/1/23, 1:29 PM
by td8 on 1/1/23, 11:07 AM
by ushakov on 1/1/23, 12:42 PM
by 99112000 on 1/1/23, 2:09 PM
by Matthias247 on 1/1/23, 8:09 PM