https://github.com/atomicojs/example-todo-js
https://github.com/atomicojs/example-todo-js
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/atomicojs/example-todo-js
- Owner: atomicojs
- Created: 2021-08-30T18:32:29.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-31T23:59:23.000Z (almost 5 years ago)
- Last Synced: 2025-05-09T07:27:15.010Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://atomicojs.github.io/example-todo-js/
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README


### Hi, I'm [@uppercod](https://twitter.com/uppercod), creator of Atomico and I want to thank you for starting with Atomico.
If you need help you can find it at:
[](https://twitter.com/atomicojs)
[](https://discord.gg/7z3rNhmkNE)
[](https://atomico.gitbook.io/doc/)
[](https://webcomponents.dev/edit/collection/F7dm6YnMEDRtAl57RTXU/d6E4w07fsQbb0CelYQac)
Now what you have installed is a quick start kit based on Vite, which you can scale for your project, now to continue you must execute the following commands:
1. `npm install`
2. `npm start` : Initialize the development server
3. `npm build` : Optional, Generate a build of your project from the html file [index.html](index.html).
## Todo with JS standard
This is a small Todo created with Atomico that will allow you to know how it is with **JS standard**, I hope that with these examples you will understand:
1. **Create components with effects on forms**: it is normal that when starting with webcomponents you cannot reflect your events to forms, in this example I show you how to solve this in an elegant way.
2. **Design token**: The design tokens are the variables of a design system, in this example I show you how to carry the token design in a sustainable way and without global conflicts.
3. **Bases for developing components and applications with Atomico**: although the example is a small whole, with the use of Atomico types, communication through events and the use of forms.
### Structure
```bash
|-src
|- todo # Groups all components
|- todo-header # announces the creation of a task
|- todo-task # shows the task and its status
|- todo-footer # filter tasks
|- button
|- checkbox
|- input
|- tab
```