How to Create Query for Getting User by ID in Graphql || Nestjs + Typeorm
| | | |

How to Create Query for Getting User by ID in Graphql || Nestjs + Typeorm

In this blog, we will discuss how to make a query to fetch one user by id. This’s very simple. We only gonna modify 2 files, user.service and user.resolvers user.service user.resolver user.service We’ll make one function with just one line of code. The code is simply finding our expected user in our database. With Typeform,…

How to create a Strapi-meetup community
| |

How to create a Strapi-meetup community

Strapi is an amazing open source headless CMS that enables developers to design API fast. It is very developer-friendly and based on my experience, it also helps developers to finish tasks in minutes, which normally costs several hours. In Strapi official website, you can see some active Strapi communities. Unfortunately, my country was not on…

Strapi – GraphQL Authenticated CRUD Operations
| |

Strapi – GraphQL Authenticated CRUD Operations

Strapi GraphQL series is back! In the previous post related to Strapi and GraphQL, in a project named id-card-repository I did CRUD operations without being authenticated which is dangerous enough as it enables all users (public users) to modify data. Today, I would like to implement authentication and authorization so only authenticated users can conduct…

GraphQL vs. REST API – comparison
| |

GraphQL vs. REST API – comparison

Have you ever heard of API? API stands for Application Programming Interface. As mobile applications became popular nowadays, the use of API also became a standard. For example, if a company has a website and a mobile application (both Android and iOS), they are not going to create separate databases. Instead, they use API to…

Strapi – GraphQL Unauthenticated CRUD operations
| |

Strapi – GraphQL Unauthenticated CRUD operations

Hi there! Today I will continue to develop a recent project in Strapi, called id-card-repository. If you are new, please check the previous article here. Specifically, the main topic is CRUD operations using GraphQL with Strapi. CRUD stands for Create, Read/Retrieve, Update, and Delete. CRUD operations are essential as data stored in databases dynamically change….

Creating Image Repository Service (Part 4) – Authentication & Authorization
| |

Creating Image Repository Service (Part 4) – Authentication & Authorization

Hello there! In this post, I would like to use and demonstrate authentication and authorization/permission features in Strapi using Postman. Continuing development using Strapi First, open Command Line Interface (CLI) and change the directory to the imagerepo folder by typing : $ cd imagerepo Start yarn using : $ yarn develop Note : If you…