Coder Social home page Coder Social logo

tmf / todos Goto Github PK

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

Zero-dependency web application using custom elements, service workers, IndexedDB and unit tests

Home Page: https://tmf.github.io/todos

License: MIT License

JavaScript 100.00%
zero-dependencies vanilla-javascript custom-elements service-worker indexeddb offline pwa dependency-free modern-web no-build javascript html css

todos's Introduction

todos

Quality Gate Status

A dependency-free todo application built with the modern capabilities of the web platform

This TodoMVC inspired example application demonstrates a more sustainable way to create web applications: without external code dependencies.

Features

  • ๐Ÿ“ฆ No external code dependencies
  • โœ… Unit tests
  • ๐ŸŒˆ Progressive web application
  • ๐Ÿค– Automated workflows
  • ๐ŸŽ‡ Lighthouse score 100/100
  • ๐Ÿงฉ Custom elements

Demo

๐Ÿš€ tmf.github.io/todos

Requirements

There are no external code dependencies, the only requirements for running this application are:

See Get started locally for instructions.

Example

Here is a simple example HTML snippet to show a <todo-list> element:

<todo-list>
	<todo-item completed>Write Readme</todo-item>
	<todo-item>Write HTML</todo-item>
	<todo-item>Write CSS</todo-item>
</todo-list>

<script type="module" src="https://tmf.github.io/todos/elements/todo-list/custom-element.js"></script>
<script type="module" src="https://tmf.github.io/todos/elements/todo-item/custom-element.js"></script>

Documentation

License

This project is licensed under the MIT license.

todos's People

Contributors

tmf avatar

Stargazers

 avatar

Watchers

 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.