Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/apollo-elements/todo-app
- Owner: apollo-elements
- Created: 2021-08-24T22:12:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-11T11:25:24.000Z (over 3 years ago)
- Last Synced: 2024-04-13T21:13:21.393Z (9 months ago)
- Language: TypeScript
- Size: 280 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.