Typescript ORM with Postgres example

Sequelize is a promise-based Node.js ORM that supports the dialects for Postgres, MySQL, SQL Server… Using an ORM can simplify database interactions, improve code maintainability, and speed up development by providing an object-oriented approach to working with relational databases. In this tutorial, I will show you step by step to implement CRUD operations using Typescript ORM with Postgres example.

You should install Postgres in your machine first.

Working with following front-end:
Angular 8 / Angular 10 / Angular 11 / Angular 12 / Angular 13 / Angular 14 / Angular 15 / Angular 16
Vue 2 Typescript / Vue 3 Typescript
React Typescript Component / React Typescript Hooks

Related Posts:
Express Typescript example
– Security: Node.js JWT Authentication with PostgreSQL example
– Dockerize: Docker Compose Nodejs and Postgres example

Read More

Typescript ORM with MySQL example

Sequelize is a promise-based Node.js ORM that supports the dialects for Postgres, MySQL, SQL Server… Using an ORM can simplify database interactions, improve code maintainability, and speed up development by providing an object-oriented approach to working with relational databases. In this tutorial, I will show you step by step to implement CRUD operations using Typescript ORM with MySQL example.

You should install MySQL in your machine first. The installation instructions can be found at Official MySQL installation manual.

Working with following front-end:
Angular 8 / Angular 10 / Angular 11 / Angular 12 / Angular 13 / Angular 14 / Angular 15 / Angular 16
Vue 2 Typescript / Vue 3 Typescript
React Typescript Component / React Typescript Hooks

Related Posts:
Express Typescript example
– Without Sequelize: Node.js Typescript Rest APIs with Express & MySQL
Node.js: Upload/Import Excel file data into MySQL Database
Node.js: Upload CSV file data into MySQL Database
– Security: Node.js – JWT Authentication & Authorization example
Deployment:
Deploying/Hosting Node.js app on Heroku with MySQL database
Dockerize Node.js Express and MySQL example – Docker Compose

Read More

React Typescript – Multiple Image Upload example (with Preview)

In this tutorial, I will show you way to Upload Image Image (with Preview) to a Rest API using React Typescript and Hooks. The React App uses Axios and Multipart File for making HTTP requests, Bootstrap for progress bar. You also have a display list of images’ information (with download url).

More Practice:
React Typescript CRUD example
React Hook Form Typescript example with Validation
React Custom Hook in Typescript example
React Query and Axios (Typescript) example
Spring Boot + React Typescript example

Serverless with Firebase:
React Typescript Firebase CRUD with Realtime Database
React Typescript Firestore CRUD example with Cloud Firestore

Read More