Skip to toolbar

Backend API Development

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 …

Create a login and register with React and Strapi Backend Read More »

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 a Mutation Query of Create a user in Graphql || Nestjs + Typeorm + Mongodb Read More »

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 Query for Getting User by ID in Graphql || Nestjs + Typeorm Read More »

What is CORS ? How to configure CORS in Strapi ?

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 browser. Image below shows …

What is CORS ? How to configure CORS in Strapi ? Read More »

Poster for Learn MongoDB blog

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 …

Installation and CRUD for Mongodb – Learn Mongodb for Dummies Read More »

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 …

How to create a Strapi-meetup community Read More »

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 …

Strapi – GraphQL Authenticated CRUD Operations Read More »

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 …

GraphQL vs. REST API – comparison Read More »

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

Strapi – GraphQL Unauthenticated CRUD operations Read More »

Strapi : Id-Card-Repository

Hi! Today I am going to create a new project in Strapi, called id-card-repository. The database, which will be used for this project is MongoDB. Prerequisites : However, before starting to create the project, I have to make sure that the MongoDB version is 3.6 or above. To check MongoDB version, open the terminal then …

Strapi : Id-Card-Repository Read More »