How to create a simple Rest API using Express framework, PostgreSQL, and coding with TypeScript. Jose Luis Campos Bautista explains how to create an API for a RESTful web service. The API is created with Express, Postgres, TypeOrm, and Typeescript.
Table of contents
Create a Rest API with Express, PostgreSQL, TypeOrm, and TypeScriptPrerequisitesInit projectInstall dependenciesConfiguring TypeScriptConfiguring our serverCreate the databaseConfigure the database connectionIntegrate services with the repositoriesSort: