The popular ORM Sequelize has a handy CLI that automatically generates your models and migrations. However if you want to generate your models and migrations in TypeScript, well you’re out of luck. This has been a know feature request since 2016. It was a monumental task when my team had to do a database migration with hundreds of models no TypeScript generator.

I wanted to share the script that I wrote if you need to a Sequelize TypeScript Generator. It has the basic boiler plate classes that we needed. …

A quick summary on AJAX

AJAX provides a way to retrieve content from a database and display it without having to refresh the entire page. AJAX or also known as Asynchronous JavaScript and XML is a crucial part of a single page application.

An asynchronous request is best described as ordering food from a restaurant. A waiter/butler takes an order from a customer/client. The waiter then takes the order back to the kitchen. The database/chef takes his or her sweet time to prepare the delicious meal. In an asynchronous order, the waiter is not waiting at the kitchen window for the chef to complete making…

API Doing Butlery Things

This article is a continuation of the series “What’s next after JavaScript” where I described my journey of self-learning software development and my goal to share this road-map with others that are on a similar quest. As I described in my last article, after completing a fundamentals course, I would often find myself asking, “so what’s next?” I would often start courses that were far too advanced because I thought I knew JavaScript. The recurring theme was that I kept starting courses that were either too basic or too advanced. Where was the next right step? …

When I first started learning web development on my own, I often struggled with finding the next step in my learning. I would go through several JavaScript courses on popular sites such as Coursera, Udemy, Udacity, PluralSight, and FreeCodeCamp. After completing a fundamentals course, I would often find myself asking, “so what’s next?” I would often start courses that were far too advanced because I thought I knew JavaScript. The recurring theme was that I kept starting courses that were either too basic or too advanced. Where was the next right step?

The greatest challenge with self-learning is not being…

When it comes to programming, each language that I have encountered comes with its unique quirks and virtues. I wanted to compare the difference in syntax of several common languages by writing a credit card checker. The goal of this application is to accept an input of a credit card number and then to identify if a credit card number is syntactically valid. This post is primarily a comparison between a lower level language vs a higher level language. …

Joel Seng

Dabbles in Code. Reads documentation for fun and for work.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store