Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/valiuchenkovladyslav/chakra-todo


https://github.com/valiuchenkovladyslav/chakra-todo

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# WinWinTravel

## Task

### What needs to be done

You need to create a basic todo application

The TODO should have the following functionality:

- Creation of an item
- Deletion of an item
- Marking an item as completed
- Marking an item as not completed if it has already been completed
- Changing the text of an item(by click on text or by `edit` button)
- When closing and opening the tab, the items should not reset

The design is free, but the following sections are needed:

- Data entry section, where there will be an input and a button (use ``)
- Section of uncompleted tasks
- Section of completed tasks

## What technologies to use

- Git with [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)
- Semantic layout - HTML 5
- React
- Chakra UI - UI library with all the necessary ready-made components
- zustand - State-manager
- i18n - For internationalization
- You can also use all other technologies that we have installed

### How to perform

- Make a copy of repo or made fork
- Complete the task
- Connect @ltlaitoff to the repo for review
- Write to the telegram chat/email that the task is completed
- Wait for review

## Rules for accepting the task

1. **All** conditions of the task are fulfilled
2. More than one commit :)
3. The presence of passed github action, which checks the following:
- Build - `npm run build`
- Lint - `npm run lint:all`
- Formatting - `npm run format:check:all`

## How to set up the project

All scripts described below (except for _**dependency installation**_) can be
used with **pnpm** instead of **npm**. They work the same way.

### Installing dependencies

After downloading the project's source code, you need to install the dependencies.
To do this, you can use the following command:

> Use **pnpm** here

```shell
pnpm i
# or
pnpm install
```

### Run

To start the project for development, use the script `dev`:

```shell
npm run dev
```

This script automatically refreshes the page after you make changes in the
code and works quickly with `vite`.

### Build

To compile the project, use the script `build`:

```shell
npm run build
```

After executing this script, you will have a folder `dist` in which the
project's output files will be located, which can be uploaded to hosting.

Also, to see how the compiled version of the program looks, you can use the
script `preview`.

```shell
npm run preview
```