teleren/devto huggingface dataset:
MongoDB Atlas Hackathon 2022 on DEV
Tags: atlashackathon22
Published: 2022-12-07 05:59:18


## What I built
We live in a hostel, and we need to split almost all our expenses on a daily basis. We started to realise that this lack of structure led to unpredictable spending that was hard to keep track of as a result of the infinite costs, we incurred each month and the inability to keep track of who was paying for what and when. So we came up with FinSPlit to make things easier to manage and save time.

## How it work?
* Create a Group for the weekend plan.
* You paid for the anything. Keep a track of it.
* How much has the group spent in total?
* Find out how much you owe/are owed.
* Looks like you have to pay multiple people. Is there a way to combine payments in the group? Settle up in the group

⚒️ Technologies
* Node.js (Typescript)
* React.js (Typescript)
* MongoDB
* AWS S3 Bucket

### Category Submission:
About Real-time

### App Link
https://github.com/rajmahadev8/Fin-Split

### Screenshots

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9yzkf8w89jesqmatzdjz.jpg)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m9i4j76jiauvduzsbw07.jpg)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w21o1wfew9i4ild3ysap.jpg)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s5sbh4o0optqnob6x0ux.jpg)



### Description
* It was challenging for us to put up security measures to safeguard user information from unauthorized users, as well as CORS policies to let authorized users access to our API endpoints.
* Using a json web token for authorization was a bit typical for us as we were trying out this method for the first time.
* Working with complicated data structures in MongoDB was quite challenging, but the "mongoose" package made the work simple.
* We found solutions to issues that actually exist in the world and affect us in our daily lives.
* We learned how we can encrypt and validate users' personal data with the help of crypto package provided by Node.js
 

### Link to Source Code
https://github.com/rajmahadev8/Fin-Split

## Background
* This was the first time our team ever dealt with Mongo technology, so we had to learn it from scratch. It was an awesome experience to work with such emerging technology, and there were many resources provided by [](https://www.mongodb.com/docs/) and other creators that guided us through the integration process of the API.
* We found solutions to issues that actually exist in the world and affect us in our daily lives. 


### How I built it
* The technologies we used included the MERN (MongoDB, Express.js, React.js, Node.js) stack, as well as DeSo API, Auth0 for authentication
* we store our user data in MongoDB and interact with it through a REST API running over an ngrok tunnel.

### Additional Info
TeamMate - @girraj21
Exploring the benefits of using Appwrite over Firebase
Tags: javascript, firebase, appwritehack, webdev
Published: 2022-12-07 08:58:08

As a full-stack developer, you are constantly on the lookout for the best tools and technologies to use in your projects. Two popular options for building scalable, real-time applications are Appwrite and Firebase. While both offer a range of services for app development, Appwrite offers several key benefits over Firebase that make it a superior choice for many developers.

One of the main advantages of Appwrite is its modular design. Unlike Firebase, which is a monolithic platform that offers a wide range of services, Appwrite is a collection of independent microservices that can be easily integrated into any project. This allows developers to only use the services they need, rather than being forced to use the entire Firebase platform. This makes it easier to manage and maintain your app, as well as reducing costs and improving performance.

Another benefit of Appwrite is its open-source nature. All of its microservices are available on GitHub, allowing developers to easily customize and extend the platform to suit their specific needs. In contrast, Firebase is a proprietary platform owned by Google, meaning that developers do not have access to its source code and are limited in what they can do with the platform.

In terms of performance, Appwrite also offers several advantages over Firebase. Its microservices are designed to be lightweight and efficient, making it easier to build fast, responsive apps. In addition, Appwrite uses a RESTful API, which is easier to work with and more flexible than Firebase's real-time database. This allows developers to easily integrate Appwrite with other technologies and platforms, giving them more control over their app's architecture and functionality.

Finally, Appwrite offers a range of additional services that are not available on Firebase. These include an authentication and user management system, a file and media management system, and a powerful API management platform. These services make it easier for developers to build complete, full-featured apps, without having to integrate and manage multiple different technologies.

In conclusion, Appwrite offers several key benefits over Firebase for app development. Its modular design, open-source nature, and additional services make it an excellent choice for developers looking to build scalable, real-time applications. Whether you are a beginner or an experienced developer, Appwrite is a powerful tool that can help you create innovative, high-quality apps.
Why has Flutter become the best choice to develop a mobile app in 2022–23
Tags: flutter, mobile, app
Published: 2022-12-07 08:52:50


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0v2q8jk9ge4ds021bgd5.png)

Flutter is the best way to build a mobile app MVP in a short time for both Android and iOS using a single codebase.

Thus, if you are a startup with a tight budget, flutter is an ideal option to develop mobile apps.

**Benefits of choosing Flutter for mobile app development.**

- The faster app development process
- Less coding
- Design custom UI
- Reduce mobile app development cost
- Highly reactive framework
- Accessible native features & SDKs
- Perfect for MVP
- Plugins are easy to avail
- Needs less testing
- Provides faster deployment
Managing multiple backends with webpack
Published: 2022-12-07 08:48:20

As a frontend application becomes more mature, it often develops a need to talk to multiple backend services. Each one of those backends will likely have specific authentication, API routes and configuration which needs to be managed somewhere. One common approach for this is a backend-for-frontend pattern where a dedicated backend manages all of this for your frontend. However, if you do not have the luxury of spawning a backend just for your webapp, there are some nice options for making the setup less painfull with webpack.

## webpack.DefinePlugin

This plugin will override env variables used in code with variables defined in an `.env` file.

```javascript
    new webpack.DefinePlugin({
      'process.env': {
        API_HOST_USERS: JSON.stringify(process.env.API_HOST_USERS),
        API_HOST_BOOKINGS: JSON.stringify(
          process.env.API_HOST_BOOKINGS
        ),
        API_HOST_PARTNER: JSON.stringify(process.env.API_HOST_PARTNER),
      },
    }),
```

## webpack dev server

The webpack dev server will provide config during development. This config will not be used in a production build.

```javascript

const config = {
  ...
  devServer: {
    hot: true,
    port: 3000,
    inline: true,
    stats: 'errors-only',
    host: '0.0.0.0',
    proxy: {
      '/users-api': {
        target: process.env.API_HOST_USERS,
        changeOrigin: true,
      },
      '/bookings-api': {
        target: process.env.API_HOST_BOOKINGS,
        changeOrigin: true,
      },
      '/partner-api': {
        target: process.env.API_HOST_PARTNER,
        changeOrigin: true,
      },
    },
  },
};

```
Monthly Amazon Location Service Updates - 2022.11
Tags: amazonlocationservice, amplifygeo, amplify, amazonlocationserviceupdates
Published: 2022-12-07 08:33:55

![img](https://day-journal.com/memo/images/logo/aws/location-service.png)

### Monthly Amazon Location Service Updates - 2022.11

<br>

This is a summary of the November updates for Amazon Location Service.

<br>

## 2022.11 Updates

[AWS IoT Core announces new Device Location feature](https://aws.amazon.com/about-aws/whats-new/2022/10/aws-iot-core-location-action-route-location-data-iot-devices-amazon-location-service/)
AWS IoT Core Device Location allows you to track and manage IoT devices using coordinates and other location information.

[Amplify Geo - Map Style Add](https://github.com/aws-amplify/amplify-cli/releases/tag/v10.5.0)
New map styles have been added to "Amplify Geo."

<br>

## Other Info

[Amazon Location Service Developer Guide](https://docs.aws.amazon.com/location/latest/developerguide)
Official Amazon Location Service Documentation.

[Amplify Geo Docs](https://docs.amplify.aws/lib/geo/getting-started/q/platform/js)
Official Amplify Geo Docs.

[Amazon Location Service Samples](https://github.com/aws-samples/amazon-location-samples)
Official Amazon Location Service samples.

[amazon-location-service-starter](https://github.com/dayjournal/amazon-location-service-starter)
Build environment to get started with Amazon Location Service.

[A Summary of How to Build Amplify Geo and Amazon Location Service](https://dev.to/aws-builders/a-summary-of-how-to-build-amplify-geo-and-amazon-location-service-5hal)
Summary of Amazon Location Service and Amplify Geo. (as of December 2021)  

[dev.to](https://dev.to/dayjournal)
Articles on Amazon Location Service.

[tags - Amazon Location Service](https://day-journal.com/memo/tags/Amazon-Location-Service)
[tags - Try](https://day-journal.com/memo/tags/Try)
Notes on Amazon Location Service. (Japanese)

<br>

## Related Articles

{% link https://dev.to/aws-heroes/monthly-amazon-location-service-updates-202210-19hf %}
Azure Enhanced BackUp policy:
Published: 2022-12-07 08:31:30

Protection operations are based on the OS disk type selected for Azure VM. Enhanced Policy takes the first snapshot as "Full" and subsequent snapshots as "Incremental". The enhanced policy has newer capabilities and hence cannot be changed to the standard policy after configuration. Pricing of Standard policy and enhanced policy varies.

Here you can able to configure hourly backup and specify the time. 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sy06xfteci5su3n6cacc.png)



But previously for cloud VM there was only a daily backup option. 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xdvuxe0iuhmfho0tb24j.png)
Beautiful Data Science project for beginners
Published: 2022-12-07 08:25:44

Beautiful and easy to follow Data Science project for beginners. It includes:
* Data collection
* Data wrangling
* Beautiful Visualization

All the steps are described into:
* [Create your first Data Science project in 15 minutes](https://youtu.be/Z7WyyIR84QM)
* [DataIsBeautiful - The Absolute Quality of Breaking Bad](https://datascientyst.com/dataisbeautiful-the-absolute-quality-of-breaking-bad/)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cphudj05teb5wnqplkci.jpg)

You will learn:
* how to extract information from IMDB with Python
* Reshape data with Pandas
* Create pleasing and attracting visualization
React, Tremor & Tailwind - Coder Stats via GitHub API
Tags: webdev, react, tailwindcss, opensource
Published: 2022-12-07 08:17:27

---
title: React, Tremor & Tailwind - Coder Stats via GitHub API
published: true
description: Open-source Sample built with React, Tremor, and GitHub API - Source released under MIT License.
tags: webdev, react, tailwind, opensource
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/35qggb3drgj7u4h3vjff.jpg
canonical_url: https://blog.appseed.us/react-tremor-tailwind-free-sample/
---
Hello Coders!

This article mentions an open-source sample that presents the developer's stats pulled from GitHub free API and presents the information using [React & Tremor](https://github.com/app-generator/sample-tremor-github-charts) Library. Thanks for reading!

- 👉 [GitHub API & Tremor](https://sample-tremor-github-charts.appseed-srv1.com/) - `LIVE demo`
- 👉 [GitHub API & Tremor](https://github.com/app-generator/sample-tremor-github-charts) - `source code`

---

> `Copyright Note`: Project adapted for **React & Tremor** from [Svelte Version](https://github.com/wobsoriano/coderstats) crafted by `Robert Soriano`.

The flow is pretty simple: Users input their username, the information is consumed from GitHub and the charts are displayed. For newcomers, `Tremor` is a modern stack built on top of **Tailwind and ReCharts**, focusing mainly on scientists and developers that develop dashboards and analytics products. 

![React, Tremor & Tailwind - Open-Source Sample (animated presentation)](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tt89vc9twxwhwqi202oc.gif)

---

The product can be used by anyone that has a decent NodeJS version installed in the workstation. Once the sources are saved locally, the project can be started easily.

```bash
$ git clone https://github.com/app-generator/sample-tremor-github-charts.git
$ cd sample-tremor-github-charts
$
$ yarn       # install modules
$ yarn start # start for development 
```

---

## ✨ What is Tremor

Tremor is a low-level, opinionated UI component library to build dashboards. It offers components, such as charts, layouts, or input elements, covering the essential parts of a dashboard or analytical interface.

Their approach provides flexibility between beautiful defaults and fast customization. The best way to get started is to check out our templates, called [Blocks](https://www.tremor.so/blocks), for getting a feeling of how components are used and combined. 

![Tremor - Free React Library for Dashboards](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b7e6t9h14ri83xa4r4ro.png)

---

> `Thanks for reading!` For more resources and support, please access:

- 🚀 Free [support](https://appseed.us/support/) provided by AppSeed (email & Discord)
- 👉 More [free apps](https://appseed.us/apps/open-source/) crafted in Flask, Django, and [React](https://appseed.us/apps/react/)
My New Design for my portfolio
Tags: webdev, discuss, career, javascript
Published: 2022-12-07 08:05:28

## Can i have your opinion?
i am always developing and enhancing my portfolio and i want your opinion in this one.

### Main Page
![Design for my "Main" page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xgafhzuu2p83jbo6pe4d.png) 

### About Me Page

![Design for my "About me" page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mzv80kxhy9lt3jm5zgkl.png)
### I accept your constructive criticism in the comments
Match Nodes with One or More Labels
Tags: neo4j, database, cypher, tutorial
Published: 2022-12-07 08:01:27

Suppose we want to find all nodes that have at least one label out of several given labels.

> Find any nodes that have the label **Person** or **Movie** or both.

There are two ways to achieve this in Cypher: a static where condition or a dynamic where condition.

### Static Where
The required labels are embedded directly into where condition of the Cypher query.

```cypher
MATCH (n) 
WHERE (n:Person OR n:Movie) 
RETURN n
```

This option is quite efficient as the query only needs to perform a label scan for each label provided and then combines the two results and removes duplicate nodes, i.e. nodes with both labels. However, adding a new label requires changing the query and thus updating the code.

![Query execution plan for static where condition](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cqok6m3yqe5iaw377h82.png)
<figcaption>Query execution plan for static where condition</figcaption>

### Dynamic Where
Instead of embedding the labels in the Cypher query, we can provide the labels as a query parameter `$labels`. This parameter is a string array that we pass to the Neo4j driver when executing the query. 

```cypher
MATCH (n) 
WHERE any(label in labels(n) WHERE label IN $labels)
RETURN n
```

This option has the advantage that we do not have to change the query if the required labels change. However, the execution might be less efficient because Neo4j first searches all nodes and then applies a filtering of the labels to the result.

![Query execution plan for dynamic where condition](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0st62g4hysohd2pg2mb5.png)
<figcaption>Query execution plan for dynamic where condition</figcaption>

---

Please let me know if there are other things to consider or there are other options I am not aware of.
A Nice Developer Joke For Today
Tags: jokes, dailydeveloperjokes
Published: 2022-12-07 08:00:20

---
title: "A Nice Developer Joke For Today"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
published: true
tags: #jokes, #dailydeveloperjokes
---

Hi there! Here's today's Daily Developer Joke. We hope you enjoy it; it's a good one.

![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e12588a43d6b.png)

---

For more jokes, and to submit your own joke to get featured, check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/). We're also open sourced, so feel free to view [our GitHub Profile](https://github.com/dailydeveloperjokes).

### Leave this post a ❤️ if you liked today's joke, and stay tuned for tomorrow's joke too!

_This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit._

<!--
Joke text:
___Q:___ What do you call an idle server?

___A:___ A waiter.
 -->
A Friendly Guide to Software Development: What You Should Know Without Being a Developer
Tags: webdev, programming, tutorial, beginners
Published: 2022-12-07 07:59:17

Software is everywhere, but despite being so common and useful, it remains magical and mysterious to many. Still, more and more people are finding themselves working for tech companies, or with an array of software products, services, and tools. This can segregate those who understand tech from those that don’t. But it doesn’t have to be this way.

This book aims to bring these two worlds closer together, allowing people to learn basic concepts of software development in a casual and straight-forward way. Assuming no previous technical knowledge, you’ll embark on a journey where you can understand and build a new software project from scratch until it is an advanced product with multiple users.

A Friendly Guide to Software Development makes technical concepts broadly available and easy to understand. Imagine moving from a “traditional” company and suddenly finding yourself in one where software is the main product or is a foundational component to it. One is often left to wade through the infinite concepts while still doing their actual jobs. This book closes that gap. In doing so, you’ll be able to achieve better communication, which will undoubtedly lead to better working relationships, a better working environment, and ultimately better software.

What You’ll Learn

- See how a new software project is created

- Examine the basics of software development and architecture

- Know which questions to ask to avoid potential problems and pitfalls

- Start using and building software projects

Download ebook here
https://www.lenbookz.com/item/843/a-friendly-guide-to-software-development-what-you-should-know-without-being-a-developer

Visit Lenbookz For More https://lenbookz.com
Ekran Kontrolü
Tags: uyumsoft
Published: 2022-12-07 07:24:57

> SQL Ekran Kontrolü Oracle
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/am4e1yxag0irbls75rk7.png)

```
DECLARE
USAY NUMBER;
BEGIN

SELECT COUNT(EA.ENTITY_ALIAS_ID) INTO USAY FROM FIND_ENTITY_DESPATCH_ALIAS EA WHERE EA.ENTITY_ID = '{EntityId}';

OPEN :message FOR
SELECT
(CASE WHEN USAY <>0 THEN 'eİrsaliye olan kayıtlarda Alış Ön İrsaliye boş geçilemez..' ELSE '' END)
FROM DUAL;

END;
```

> Normal
```
<h1 style="color: red">UYARI:</h1>

<style>
p {
  color: #26b72b;
}
</style>

<p>
 CARİ-(VİRMAN) ve CARİ-(KUR) Fiş Tiplerinde Cari Kodu Master alanda seçmeyiniz. <br /> Ne olursa olsun Cari Kodu detayda giriniz.
</p>

<p><img src="https://cunkubaskasenyok.com/wp-content/uploads/2021/10/En-Cok-Tercih-Edilen-Kedi-Cinsleri-.jpg" alt="Hata" width="500"/></p>

<p style="color: blue"><code>style</code> Cari - Muhasebe kontrolü için kural uygunlanmıştır. </p>

```
Create a REST API in Node.js
Tags: restapi, node
Published: 2022-12-07 07:00:35

---
title: Create a REST API in Node.js
published: true
description: 
tags: #restapi #nodejs
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2022-12-07 06:58 +0000
---

To create a REST API in Node.js, you will need to use a web framework such as Express.js. This framework provides a simple and flexible way to create a REST API that can handle HTTP requests and responses.

Here is an example of how you can create a simple REST API in Node.js using the Express.js framework:

```
const express = require('express');
const app = express();

// Create a route for the API
app.get('/api/products', (req, res) => {
  // Get the list of products from the database
  const products = getProductsFromDB();

  // Send the list of products as a response
  res.json(products);
});

// Start the server
app.listen(3000, () => {
  console.log('Server listening on port 3000');
});
```

In this example, the `app.get` method is used to create a route for the API that handles GET requests to the `/api/products` endpoint. When a request is received, the API retrieves a list of products from the database and sends it back as a JSON response.

To make this API more complete, you can add additional routes for other HTTP methods, such as POST, PUT, and DELETE, to handle creating, updating, and deleting products. You can also add more endpoints to the API to support different resources, such as users, orders, etc.

With this approach, you can create a simple REST API in Node.js that can be used to access and manage data in your application.