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

https://github.com/benschlegel/react-native-todo-list

✔️Clean looking todo-list in react native
https://github.com/benschlegel/react-native-todo-list

android expo react-native typescript

Last synced: 2 months ago
JSON representation

✔️Clean looking todo-list in react native

Awesome Lists containing this project

README

        



SimpleList


A clean and simple Todo/Shopping list powered by Reanimated 🚀














## 📥 Local installation

Download the repository and run
```
expo install
```
and
```
expo start
```

---

## 📂 Project structure

This app is a managed expo typescript project (created with `expo init`).

---

* **📁`src`:** Contains main Component (`App.tsx`), entry point of app.

* *📄 `src/App.tsx`:* contains list items (`items`), `add-` and `deleteItem` callbacks and a basic view that wraps components from 📁`components`.

---

* **📁`components`:** Contains components that are used in main `App.tsx`.

* *📄 `components/Header.tsx`:* Simple header on top of app, displays name of current list (with option to return to list selection screen).

* *📄 `components/Input.tsx`:* Used to add new items to list, input component on bottom of screen.

* *📄`components/ListItem.tsx`:* Single item in list, can be deleted by swiping. Also contains logic for deleting item.

---
* **📁`types`:** Contains global types (mainly `Item` interface).

* *📄`index.d.ts`:* Global types/interfaces and styles.

---
* **📁`other`:** Configuration files

* *📄`.eslintrc.js`:* Contains eslint config for project

* *📄`app.json`:* Defines `expo`-configuration like `entryPoint`, `jsEngine`, app name etc.