Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/apollo-elements/todo-app

Example todo-app using Apollo Elements
https://github.com/apollo-elements/todo-app

Last synced: 20 days ago
JSON representation

Example todo-app using Apollo Elements

Awesome Lists containing this project

README

        

# Apollo Elements Todo App

Todo app written with [Apollo Elements](https://apolloelements.dev/blog/todo-app/).

## Getting Started

```bash
git clone [email protected]:apollo-elements/todo-app.git
cd todo-app
npm ci
npm start
```

## The Server

The Todo list is served via a [koa](https://koajs.com/) middleware. `npm start` runs [web-dev-server](https://modern-web.dev/guides/dev-server/getting-started/) with the middleware already applied. The todo-list is held in-memory, restarting the server resets it to the hardcoded defaults.

## The Client

The client code uses [Apollo Elements](https://apolloelements.dev), [lit](https://lit.dev) and [Shoelace](https://shoelace.style) to render GraphQL queries and mutations for TODO CRUD operations.