---
title: "Ariyadi Armi (@JoeCranberries) | Hashnode"
description: "Ariyadi Armi (@JoeCranberries) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@JoeCranberries"
---

@JoeCranberries

# Ariyadi Armi

@JoeCranberries · Padang · Joined November 2021

### [Node js](https://smiile.hashnode.dev/node-js-1?utm_source=hashnode&utm_medium=feed)

const detail\_asset = req.body.detail\_asset; const detailAssetIds = new Set(); for (const detail of detail\_asset) { const laptop\_pc\_id = detail.laptop\_pc\_id; if (detailAssetIds.has(laptop\_pc\_id)) { return res.st...

1 min read · [smiile.hashnode.dev](https://smiile.hashnode.dev/node-js-1?utm_source=hashnode&utm_medium=feed)

[Aug 6, 2024](https://hashnode.com/posts/node-js-1/66b1d825bde3974874d03f6b)

### [Pagination](https://smiile.hashnode.dev/pagination?utm_source=hashnode&utm_medium=feed)

app.get("/api/customer-get-all-filter-new",validateToken, async (req, res, next) => { const apiKey = req.get("apiKEY"); if (apiKey != process.env.apiKEY) { return res.status(401).json({ message: "Unauthorized", }); } ...

1 min read · [smiile.hashnode.dev](https://smiile.hashnode.dev/pagination?utm_source=hashnode&utm_medium=feed)

[Jul 17, 2024](https://hashnode.com/posts/pagination/669738d9eebd5d13ccc616a3)

### [Flutter](https://smiile.hashnode.dev/flutter?utm_source=hashnode&utm_medium=feed)

Membuat TodoPage sebagai StatelessWidget. :class TodoPage extends StatelessWidget {const TodoPage({super.key}); Widget build@override Widget build(BuildContext context) {} Scaffold and AppBarreturn Scaffold(appBar: AppBar(title: const Text("Todos"),b...

1 min read · [smiile.hashnode.dev](https://smiile.hashnode.dev/flutter?utm_source=hashnode&utm_medium=feed)

[Jul 2, 2024](https://hashnode.com/posts/flutter/6683cf32ed7c5d8f83a9ad69)

### [Node Js](https://smiile.hashnode.dev/node-js?utm_source=hashnode&utm_medium=feed)

cara memanggil id di mongoDB -> ex : panggil datanya lalu ambil object nya lalu panggil id nyadata.creator\_data.\_id.toString() cara change data ex : data = await namaModel.finById(item.object nya) data.alamat = item.new\_alamat ini bisa terjad...

1 min read · [smiile.hashnode.dev](https://smiile.hashnode.dev/node-js?utm_source=hashnode&utm_medium=feed)

[Nov 30, 2023](https://hashnode.com/posts/node-js/65685b7aa2cad19ef6c0a115)

### [MongoDB](https://smiile.hashnode.dev/mongodb?utm_source=hashnode&utm_medium=feed)

MongoDB, agregasi adalah cara untuk memproses dan mentransformasi data dalam sebuah koleksi. Agregasi memungkinkan Anda melakukan berbagai operasi, seperti penyaringan, pengelompokan, pengurutan, dan proyeksi, pada dokumen-dokumen dalam sebuah koleks...

3 min read · [smiile.hashnode.dev](https://smiile.hashnode.dev/mongodb?utm_source=hashnode&utm_medium=feed)

[Nov 28, 2023](https://hashnode.com/posts/mongodb/656551bea46ae558cbc2feee)
