How to create a Docker image from an existing Strapi app and Run it locally

How to create a Docker image from an existing Strapi app and Run it locally

In Strapi website, when installing Strapi using Docker, the available guide only tells you how to create a brand new Strapi app. On the other hand, they do not give a step-by-step guide how to build your Strapi app image from an existing project 😔 In this article, we are going to learn how to…

How to Disable telemetry in Strapi app 📊❌

How to Disable telemetry in Strapi app 📊❌

Strapi contains a feature in which anonymous and otherwise non-sensitive data is collected. Like any other software, the main aim is to provide the best experience to users. “ What data is collected ? “ Unique project ID (generated with UUID) Unique machine ID (generated with node-machine-id) Environment state (development, staging, production) System information (OS)…

Create a login and register with React and Strapi Backend
| | | |

Create a login and register with React and Strapi Backend

From our previous blog in making a register page with React js + Ant Design (see.. https://about.lovia.life/3-easy-step-to-create-signup-form-with-ant-design-reactjs/), for now we’re gonna connect it to our Strapi Backend and make it functional. The frontend is using the miluv-pwa repository and the backend is using lovia-profile repository. The core thing that we need to do is we…

How to Create a Mutation Query of Create a user in Graphql || Nestjs + Typeorm + Mongodb
| | | |

How to Create a Mutation Query of Create a user in Graphql || Nestjs + Typeorm + Mongodb

In this blog, we will discuss how to make a Mutation on Graphql to Create and Modify a user. We only gonna modify 2 files, user.service and user.resolvers user.service user.resolver Mutation: Create User user.service We will create one function here to create a user, we’ll name it ‘createUser(userData)‘. We have one parameter here containing all…

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,…

What is CORS ? How to configure CORS in Strapi ?
|

What is CORS ? How to configure CORS in Strapi ?

What is CORS ? CORS stands for Cross-Origin Resource Sharing. According to developer.mozilla.org, Cross-Origin Resource Sharing (CORS) is a mechanism that uses additional HTTP headers to tell browsers to give a web application running at one origin, access to selected resources from a different origin. Simply, it is a web application security feature in a…

Installation and CRUD for Mongodb – Learn Mongodb for Dummies
|

Installation and CRUD for Mongodb – Learn Mongodb for Dummies

Installation for MongoDB locally on windows computer Download Mongodb Download MongoDB here. Choose the MongoDB Community Server. Run the Installer Just click next.. Edit Path Edit your environment variable in System Properties. Edit path variable on your User Variables. Add The MongoDB’s Bin folder, usually in C:Program FilesMongoDBServer4.2bin     Run MongoDB $ mongod $ mongo…

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…