2021-07-26
2299
#typescript
Ibiyemi Adewakun
59700
Jul 26, 2021 â‹… 8 min read

Using Sequelize with TypeScript

Ibiyemi Adewakun Ibiyemi is a full-stack developer from Lagos. When she's not writing code, she likes to read, listen to music, and put cute outfits together.

Recent posts:

7 Common CSS Navigation Menu Mistakes And How To Fix Them

7 common CSS navigation menu mistakes and how to fix them

Navigation menu errors are common, even for seasoned developers. Learn seven common navigation menu errors and how to solve them using CSS.

Temitope Oyedele
Jun 13, 2025 â‹… 6 min read
Comparing the top 5 React toast libraries

Comparing the top React toast libraries [2025 update]

Compare the top React toast libraries for when it’s more trouble than it’s worth to create your own custom toast components.

Nefe Emadamerho-Atori
Jun 13, 2025 â‹… 16 min read
Comparison between TanStack Start and Next.js — two modern full-stack React frameworks with different architectural approaches.

TanStack Start vs. Next.js: Choosing the right full-stack React framework

TanStack Start vs. Next.js: both are powerful full-stack React frameworks, but they take fundamentally different approaches to architecture, routing, and developer experience. This guide breaks down their core features from SSR and data fetching to TypeScript support and deployment, to help you choose the right tool for your next React project.

Abiola Farounbi
Jun 12, 2025 â‹… 8 min read
Angular v20 might seem boring…here are 5 reasons it’s not

Angular v20 might seem boring — Here are 6 reasons it’s not

While it may seem like a maintenance update, Angular v20 is packed with practical, production-ready upgrades that will enable us to build apps faster and with more confidence.

Yan Sun
Jun 12, 2025 â‹… 8 min read
View all posts

8 Replies to "Using Sequelize with TypeScript"

  1. Hi I have a doubt. I check the proyect git. folder /lib two files. local-cache.ts and check-cache.ts when would the check-cache be used. thank you. i wait your answer

  2. Hello, excellent contribution for those of us who are just starting out, I would like to know what benefit the use of the service brings to communicate with the Controller with the DAL layer, thank you.

  3. Interesting.. I checked out your repo… its pretty different from how I have implemented my server. Main issues I have is there is a lot of boilerplate and it is not very DRY..(ex, there are multiple places the attributes on a model are defined .. ie.. defined in the model, in the dto, in the interface, then again in the mappers). Also, your cache would be very dangerous in any server behind a load balancer.

    1. Could you please tell me which boilerplate is the best?
      Now I’m seeking to start a new project in Node with sequelize, and I’d appreciate it if you could share your repo.

Leave a Reply