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..
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…
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…
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…
> use-case : User bisa Upload Foto Profil / KTP / NPWP requirement : service yang digunakan untuk aplikasi Image repository service bisa diupload dan diakses (view and CRUD) menggunakan RestAPI dan GraphQL Termasuk metadata (when, who, dll.). FIle yg upload disimpan di AWS S3 Tool : Strapi
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,…
Apa itu strapi ?? Strapi adalah CMS Headless bersifat open-source, yang fleksibel dan memberi developer kebebasan untuk memilih alat dan framework favorit mereka sembari juga memungkinkan editor untuk dengan mudah mengelola dan mendistribusikan konten mereka. Dengan kata lain, strapi dapat menyediakan tampilan yang good-looking serta dapat diintegrasikan dengan berbagai framework. Apa saja yang harus disiapkan…