News for hackers. Stuff that matters.
Re:C# 9 top-level programs and target-typed expressions by jjice on Tuesday March 30, 2021 @07:48PM (#26641964)
What's your go to boiler plate for a new TypeScript project?
Re:C# 9 top-level programs and target-typed expressions by binarynate on Tuesday March 30, 2021 @10:26PM (#26642892)
The three most popular kinds of TypeScript projects I create are:

- Node.js services built with Serverless framework targeting AWS Lambda - Create React App front-ends - Gatsby front-ends

For the first, I have a single shared webpack config that I reuse for all my serverless services. For the front-end projects, I just followed the few steps to add TypeScript support to CRA and Gatsby.

Re:C# 9 top-level programs and target-typed expressions by twodave on Wednesday March 31, 2021 @10:58PM (#26656153)
Once you suss out working with local shared dependencies, Serverless framework with typescript is pretty awesome. If I were starting a new project today I'd have to take a good hard look at this for my API back-end.

- Lambda Authorizers for token auth (or use the built-in stuff if you can get away with it)

- Lambda w/ API Gateway for individual endpoints

- Aurora for relational dbms

It's really a nicely put together ecosystem.