Using Htmx, ASP.NET Core, and Marten (postgres document db) to sort list

Overview

HTMX Collection Posting

This is a simple demo on the surface but demonstrates a few complex concepts in ASP.NET Core:

  • Model Binding a collection from a form
  • Sorting client side and saving the results
  • Clientside interaction with HTMX
  • Document Database

Getting Started

You'll need the following:

  • PostgreSQL Database (use docker)
  • .NET 6

You should be good to go. Just change the connection string.

License

I'm cool if you're cool 😎

You might also like...

A small CLI to sort any specified json files alphabetically

This is a small CLI to sort any specified json files alphabetically. This was created to sort localization files, but maybe you will find another use case.

Mar 20, 2022

Sort imports by path - VS Code extension

Import sort by absolute path The sorting algorithm will group each item in the array and sort (alphabetically) its children that starts with the path

Feb 2, 2022

The Easel Javascript library provides a full, hierarchical display list, a core interaction model, and helper classes to make working with the HTML5 Canvas element much easier.

EaselJS EaselJS is a library for building high-performance interactive 2D content in HTML5. It provides a feature-rich display list to allow you to ma

Dec 29, 2022

A demo of using RSC and Vercel Postgres, legally

A demo of using RSC and Vercel Postgres, legally

How is this not illegal This beautiful tweet by Dan Abramov brought to life. Setting it up Create a Vercel Postgres database and link it to your proje

Aug 14, 2023

Connect to a Postgres database from a Cloudflare Worker, using Cloudflare Tunnel

Cloudflare Workers Postgres Client This is an experimental module. Heavily based on cloudflare/worker-template-postgres, but cleaned up and bundled in

Dec 22, 2022

ITkonekt .NET workshop

Autobarn This is the sample application for Dylan Beattie's workshop on distributed systems with .NET. It's an Asp.NET Core web application based on v

Dec 19, 2021

Export Diagrams.net diagrams during Dendron site publishing

Export Diagrams.net diagrams during Dendron site publishing Node module for exporting Diagrams.net (Draw.io) diagrams embedded in a published Dendron

Aug 18, 2022

CVTC Capstone Project - The Fish Net

The Fish Net Created By: Bruce Brown, Dave Oberlander, Mason Johnson, Timothy Harper About This is the repository for The Fish Net. It is a website to

Nov 11, 2022

FCIV.NET is a open source strategy game loosely based on Freeciv

FCIV.NET is a open source strategy game loosely based on Freeciv

FCIV.NET FCIV.NET is an open-source turn-based strategy game. It can be played in any HTML5 capable web-browser and features in-depth game-play and a

Nov 22, 2022
Owner
Khalid Abuhakmeh
Loves @NicoleAbuhakmeh. 🚀🧠 🥑@JetBrains dev advocate #Photoshop Whisperer. #OSS supporter. @dotnet developer. @dotnet-foundation member. He/Him
Khalid Abuhakmeh
Gym Project to Learn ASP.NET Core

OneFitnessVue Gym Project to Learn ASP.NET Core. Read the Documentation » ⚡️ This is Sample Project Which Does not Contain All Features. ?? Buy Comple

Saineshwar Bageri 31 Jan 3, 2023
ASP.NET core, PostgreSQL

Technologies CityApp is built using the following technologies: Visual Studio 2017 ASP.NET Core (Targeting .net 4.61) SQL Server 2014/Azure SQL for da

Dredsoft 3 Sep 15, 2022
Nested Sort is a JavaScript library which helps you to sort a nested list of items via drag and drop.

Nested Sort Nested Sort is a vanilla JavaScript library, without any dependencies, which helps you to sort a nested list of items via drag and drop. U

Hesam Bahrami 40 Dec 7, 2022
Create a C# .NET core EntityFramework ORM from your schema.prisma file

A note of forewarning to the would-be user... This was a failure. I'm making a note here: huge regret. It's hard to overstate my dissatisfaction. ?? S

Ian Ray 9 Dec 24, 2022
This template is for generating a .NET C# wrapper for the RabbitMQ client based on your AsyncAPI document.

.NET C# RabbitMQ template This is a .NET C# RabbitMQ template for the AsyncAPI generator This template is for generating a .NET C# wrapper for the Rab

AsyncAPI Initiative 5 Dec 21, 2022
Sort tailwind classes for each elements className list by a given order-config

eslint-plugin-tailwind-classname-order This eslint plugin automatically orders the tailwind classes included in the className tags from each element b

aacn 4 Nov 25, 2022
Group and sort Eleventy’s verbose output by directory (and show file size with benchmarks)

eleventy-plugin-directory-output Group and sort Eleventy’s verbose output by directory (and show file size with benchmarks). Sample output from eleven

Eleventy 16 Oct 27, 2022
⛲ Sort import declarations into a pleasing and readable cascade.

⛲ eslint-plugin-cascading-imports This plugin allows to automatically enforce a visual "cascading" order for import declarations. Imports in each bloc

Florent 1 Jan 20, 2022
URL Shortener API in NodeJS supporting pagination, sort params and lot more

node-url-shortener Built with ❤️ in NodeJS A simple URL Shortner REST API that uses shortid npm package to generate short endpoints for your long URL.

Dhairya Ostwal 3 Sep 22, 2022
Sort tsconfig.json compilerOptions

sort-compiler-options Sort tsconfig.json compilerOptions in the same order as the TSConfig Reference (Support v4.5.5 or less) Install npm i sort-compi

P-Chan 6 Oct 19, 2022