Coder Social home page Coder Social logo

vandie / webmention-handler-mongo Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 34 KB

A Mongo DB Storage Handler for the Webmention Handler Project

Home Page: https://www.npmjs.com/package/webmention-handler-mongodb

License: MIT License

JavaScript 6.20% TypeScript 93.80%
indieweb javascript mongo mongodb mongoose node nodejs typescript webmentions

webmention-handler-mongo's Introduction

M W Van Der Velden - Lead Backend Developer

Hi All, I'm Michael Walter Van Der Velden! (He/Him)

I work on various JS, TS, C and Rust Projects. Some even go somewhere. I'm currently working as a senior developer at Pretty Little Thing. Most of my personal projects get documented on my blog. Below you can find a dynamic image and link to the latest post on my blog as well as some other key links about myself. Feel free to reach out, I try to help people out where I can. For the sake of being open, I also list the full stack of my portfolio.

latest blog post

Key Links

mikevdv.dev mikevdv.dev/blog Rss @mvd_vandie on Twitter


Portfolio Tech

Svelte TypeScript DigitalOcean MongoDB Google Cloud Cloudflare

webmention-handler-mongo's People

Contributors

vandie avatar

Stargazers

 avatar

Watchers

 avatar  avatar

webmention-handler-mongo's Issues

duplication issue

According to the webmention standard, webmentions for the same page should not be duplicated and instead overwrite old mentions if the source and target are the same. This is currently not the case. It appears that while this is the case for pending mentions. it is not the case for the full stored mentions.

To fix this, we need to change the following code to instead perform an update using upsert

const storedMention = await collection.insertOne(mention);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.