Installation and CRUD for Mongodb – Learn Mongodb for Dummies

Download MongoDB here. Choose the MongoDB Community Server.
Edit your environment variable in System Properties. Edit path variable on your User Variables. Add The MongoDB’s Bin folder, usually in C:\Program Files\MongoDB\Server\4.2\bin
$ mongod
$ mongo
To use MongoDB, you can use it from MongoDB Shell. Run Mongo
First Step: Make a local connection. Type mongodb://localhost
The rest of it you can watch it on the videos down below..
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…
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,…
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 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…
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…
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…