Giter Site home page Giter Site logo

yammusic / rn-tasks-list Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 842 KB

The challenge is to create a simple application in React Native that includes the following functionalities: A "tasks" section, which is a simple list of tasks added by the user (only containing a description), with the option to add more tasks. A "list" section, which will simply make a request to a remote data list and render it on the screen.

Home Page: https://expo.dev/preview/update?message=React%20Native%20tasks%20list&updateRuntimeVersion=1.0.0&createdAt=2024-06-08T13%3A27%3A51.692Z&slug=exp&projectId=4dc89e16-518b-43a9-ac14-5ac45c2603b6&group=a8d8349a-a662-45fb-a8f6-2f02142e8335

TypeScript 99.36% JavaScript 0.64%

rn-tasks-list's Introduction

React Native Task and List App

React Next.js Tailwind CSS Typescript

Android

Preview Preview Preview Preview

iOS

Preview Preview Preview Preview

Description

The challenge is to create a simple application in React Native that includes the following functionalities:

  • A "tasks" section, which is a simple list of tasks added by the user (only containing a description), with the option to add more tasks.
  • A "list" section, which will simply make a request to a remote data list and render it on the screen.

The main screen contains 2 buttons used to navigate to the screens of each of the mentioned sections.

Demo

Functionalities

  • Tasks:
    • Create a list of tasks in a Redux context.
    • Read and display data present in Redux.
    • Add new tasks via a modal with a form.
    • Validation to prevent adding tasks with empty descriptions.
    • Persist tasks when navigating between screens.
  • List:
    • Display a list of items fetched from a remote data source.
    • Display at least the name of each item and optionally an image in the "contact list" style.
    • Show a loading state while fetching the data.

Architecture

This project uses Redux Toolkit for global state management and Axios for HTTP requests.

This codebase follows the Hexa3 architecture, which is a combination of Hexagonal Architecture and Domain-Driven Design (DDD) principles. This architecture promotes a clean separation of concerns and a modular design, making the codebase more maintainable and scalable.

Folder Structure

├── app -> (contains routes pages)
├── domain
│   ├── constants -> (contains regex constants)
│   ├── polyfills -> (contains JS polyfills)
│   └── store -> (contains application state and actions)
├── infra
│   └── services -> (contains APIs services)
└── ui
    ├── assets -> (contains fonts and image assets)
    ├── components -> (contains UI components)
    └── layouts -> (contains UI Layouts)

Tech Stack

Additional Resources

Run the app

  1. Install dependencies

    npm install
  2. Start the app

     npx expo start

In the output, you'll find options to open the app in a

Run the tests

To run the tests, use the following command:

npm run test

rn-tasks-list's People

Contributors

yammusic avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.