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:

how to design apps with Apple Intelligence in mind

How to design apps with Apple Intelligence in mind

Apple Intelligence is here. What does it mean for frontend dev and UX? Explore the core features of the update, do’s and don’ts for designing with Apple Intelligence in mind, and reflect on the future of AI design.

Murat YĂĽksel
Jun 24, 2025 â‹… 10 min read
How To Optimize Your Next.js App With After()

How to optimize your Next.js app with after()

Next.js’ after() is a new API that lets you run logic after your route has finished rendering, without blocking the client.

Temitope Oyedele
Jun 24, 2025 â‹… 11 min read
JavaScript Loops Explained, And Best Practices

JavaScript loops explained, and best practices

JavaScript loops like for, for...of, and for...in are constructs that help run a piece of code multiple times.

Rahul Padalkar
Jun 23, 2025 â‹… 8 min read
8 Reasons Your Next.js App Is Slow — And How To Fix Them

8 reasons your Next.js app is slow — and how to fix them

You don’t need to guess what’s wrong with your Next.js app. I’ve mapped out the 8 biggest performance traps and the fixes that actually work.

Chizaram Ken
Jun 20, 2025 â‹… 16 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