Typescript

I'm Building an ORM for Deno!

This article was originally posted on DEV.

Hey developers! I hope you’re doing well.

I just want to let you know that I’m currently working on an open-source project which I think is really cool.

I’m building an ORM library for one of the hottest yet immature technologies this year: Deno.

It’s called Cotton, but don’t ask me why I come up with this name, I have no idea.

I’m super excited about this project, and I want to share my experience with you.

Read more

A Practical Guide to TypeScript Decorators

This article was originally written for LogRocket.

We can all agree that JavaScript is an amazing programming language that allows you to build apps on almost any platform. Although it comes with its own fair share of drawbacks, TypeScript has done a great job of covering up some gaps inherent in JavaScript. Not only does it add type safety to a dynamic language, but it also comes with some cool features that don’t exist yet in JavaScript, such as decorators.

Read more

How to Build a GraphQL API with TypeGraphQL and TypeORM

This article was originally written for LogRocket.

GraphQL’s popularity is constantly growing, and it’s no mystery as to why: it’s a great tool that solves many common problems developers encounter with RESTful APIs. GraphQL allows us to easily fetch data relations, but it also prevents us from overfetching that data. Put simply, GraphQL improves the development experience and makes frontend apps faster.

Despite its many advantages, however, building a GraphQL API can occasionally present challenges. How can we minimize the headaches we encounter in our projects?

Read more