Giter Club home page Giter Club logo

trellix-vanilla's Introduction

This is a demo app because I couldn't resist trying. I saw the challenge that Ryan Florence put out for other framework authors, or anyone, to remake his Trellix demo (inspired by Trello) and see if they can make it better than Remix. No one was making anything quite as Ryan's demo (or at least enough to get an A from him). So I picked up the challenge.

Other Trellix Demos:

Goal: Zero Dependencies

I am not a framework author, so the goal with this demo is to see if I can make it without a framework. One further, I thought I could make it without a build step. I wanted to see if I could do this with zero dependencies. Not even tailwind!

And I did it. There are zero (production) dependencies. Just development dependencies for typescript for the bun server, and prettier because I'm not a mad man.

I used bun for my backend and only used the built in APIs. Admittedly this is kind of cheating since it has a lot built in, including SQLite. So maybe this would be better called Trellix-Bun ¯\_(ツ)_/¯

One final note: Remix is awesome. Don't make things like this. Make them with Remix.

Obviously.

Live Demo

Take a look at the live demo: https://trellix-vanilla.fly.dev/

And roast me on Twitter if I don't live up to Ryan's demo: @kbitgood

Some Changes/Improvements

I noticed Ryan's Trellix demo was missing some features. I'd give his demo an A- 😉. So I added a couple of things.

  • I added ability to delete columns from a board.
    • How can you use this without that?
  • I also added the ability to reorder columns with drag and drop.
  • I made it work without javascript!
    • I was inspired by Remix's use of forms. If everything is a form then this is easy peasy. I just had to do some css trickery with focus-within instead of buttons that show forms.
  • I made it work without an internet connection!
    • It's not fully local-first or a PWA, but if you disconnect, everything will still work and it will sync up when you reconnect.

Run It Locally

Install bun then run:

# 👇 not needed! zero dependencies baby!
# bun install

bun run dev

trellix-vanilla's People

Contributors

kbitgood avatar

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.