Build REST API with NodeJS, MySQL, Sequelize, Typescript, Express step by step 2022 | REST API MySQL

preview_player
Показать описание
Build REST API with NodeJS, MySQL, Sequelize, Typescript, Express step by step 2022 | NodeJs REST API with Sequelize, MySQL, Express, Typescript | Typescript with MySql, Node, Express

Step by Step explanation for creating Node, MySql Restful API

For detail code explanation visit my Blog

#Sequelize #MySql #Typescript
Рекомендации по теме
Комментарии
Автор

List of command for inizialize the app:
1 sudo npm i --location=global typescript
2 tsc --init
3 npm init
4 npm i --save express body-parser sequelize sequelize-typescript mysql2
5 npm i --save-dev nodemon
6 npm i --save-dev @types/node
7 npm i --save-dev @types/express

You're welcome ;D

francescomontaudo
Автор

Nice tutorial thank you :)
Now I just need to achieve the automatic creation of the schema with TS without manually creating it in the workbench.

alexpiano
Автор

TypeError: Cannot convert undefined or null to object
at (<anonymous>) getting this error, can you please help?

rajeshpatil
Автор

thank you. Tell me, inst sequelize bad for typescript? I mean in long term.

hermessantos
Автор

Hello, I have one question, what are you clicking at 11:32? Seems you're clicking smthng that makes all red underline errors dissapear. Thank you!

alexpiano
Автор

I am getting error in dist/model/column. While running npm start getting annotate line error. Can you please tell me how can I fix it?

rajlakhera
Автор

thank you sir, pls you should add the code in your git repo

ahmadabdulkadir
Автор

Hello guys watch this video it will explain step by step to create Restful API with Node, MySql, Typescript step by step

ankusingh
Автор

Hi, It's very useful
I followed all your steps.
Getting below error,
is possible can you help with this.

annotate(target, propertyName, propertyDescriptor !== null && propertyDescriptor !== void 0 ? propertyDescriptor : Object.getOwnPropertyDescriptor(target, propertyName), args[0]);
^

TypeError: Cannot convert undefined or null to object
at (<anonymous>)
at
at __esDecorate
at
at
at Object.<anonymous>
at Module._compile
at Module._extensions..js
at Module.load
at Module._load

Node.js v18.12.1

balasubramani