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:

Automate Repetitive Tasks With The Pinion Code Generator

Automate repetitive tasks with the Pinion code generator

Discover how the Pinion code generator automates repetitive tasks and boosts productivity compared to tools like Yeoman, Plop, and Hygen.

Joseph Mawa
May 21, 2024 ⋅ 7 min read
Exploring Hurl An Alternative To Postman

Exploring Hurl, a command line alternative to Postman

Hurl is an excellent Postman alternative that improves the DX of working with APIs through the command line.

Nwani Victory
May 20, 2024 ⋅ 8 min read
How To Integrate WunderGraph With Your Frontend Application

How to integrate WunderGraph with your frontend application

Unify and simplify APIs using WunderGraph to integrate REST, GraphQL, and databases in a single endpoint.

Boemo Mmopelwa
May 17, 2024 ⋅ 5 min read
Understanding The Latest Webkit Features In Safari 17.4

Understanding the latest Webkit features in Safari 17.4

The Safari 17.4 update brought in many modern features and bug fixes. Explore the major development-specific updates you should be aware of.

Rahul Chhodde
May 16, 2024 ⋅ 10 min read
View all posts

7 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