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:

Build A Custom React Native Turbo Module For Android

Build a custom React Native Turbo Module for Android

Build a React Native Turbo Module for Android to access device info like model, IP, uptime, and battery status using native mobile APIs.

Emmanuel John
Feb 27, 2025 â‹… 8 min read
how to measure round-trip time using cURL

How to measure round-trip time (RTT) using cURL

Learn how to measure round-trip time (RTT) using cURL, a helpful tool used to transfer data from or to a server.

David Omotayo
Feb 26, 2025 â‹… 10 min read

React.memo explained: When to use it (and when not to)

React.memo prevents unnecessary re-renders and improves performance in React applications. Discover when to use it, when to avoid it, and how it compares to useMemo and useCallback.

Emmanuel John
Feb 26, 2025 â‹… 9 min read
React useCallback: When And How To Use It For Better Performance

React useCallback: When and how to use it for better performance

Learn how React’s useCallback hook boosts performance by memoizing functions and preventing unnecessary re-renders with practical examples and best practices.

Emmanuel John
Feb 26, 2025 â‹… 6 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