Typescript, GraphQL, PostgreSQL Tutorial [ENGLISH]



Typescript, GraphQL, PostgreSQL Tutorial [ENGLISH]

Typescript, GraphQL, PostgreSQL Tutorial [ENGLISH]

GraphQL – PostgreSQL – Typescript tutorial that uses following technologies:
– Node.js
– Typescript
– GraphQL
– TypeORM
– PostgreSQL
– Apollo Server
– Nexus
– Json Web Token (JWT)

We are creating a backend application with GraphQL – ApolloServer, using TypeORM to interact with our database and create relations between tables, using JWT to authenticate/authorize users & doing all this stuff using Typescript.

Code: https://github.com/mertakpinar29/apollo-graphql

Great documentation: https://www.howtographql.com/
Install pgAdmin: https://www.pgadmin.org/download/

00:00 – Initialize the app
02:31 – Create a schema
10:39 – Schema Types
12:27 – Product Type
16:50 – Product Query
22:05 – Create Product Mutation
26:51 – pgAdmin
28:00 – Database Connection
31:51 – Product Entity
39:45 – SQL Statement
43:40 – User Entity
44:35 – One-To-Many Relation
51:21 – Register Resolver
01:05:00 – Login Resolver
01:11:42 – Auth Middleware
01:20:37 – Updating Product Type

Comments are closed.