Giter Site home page Giter Site logo

junioroga / animall Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 38.3 MB

React Native App with Expo to list and show some details about Animes/Mangas.

JavaScript 4.15% TypeScript 92.73% Shell 2.40% CSS 0.72%
expo jest msw reactnative tamagui legendstate

animall's Introduction

React Native Animall App

This is a React Native App to show information about Animes and Mangas. The data are fetch from AnimeList API.

  • Dark and Light theme
  • EN-US and PT-BR language

FINISHED MVP

DEVELOPING

Project created with Expo CLI. See official docs to set up the environment.

๐Ÿ›  Used Technologies

The following tools were used to build the project:

  • Expo
  • React Native
  • TypeScript
  • Tamagui: Style and UI for React (web and native) meet an optimizing compiler
  • Reanimated: React Native Reanimated is a powerful animation library built by Software Mansion.
  • React Navigation: Routes and navigation
  • Axios: Promise based HTTP client
  • React Query: Fetching, caching, synchronizing and updating server state
  • Legend-state: Control all application states instead of using react native's useState
  • AsyncStorage: A library that provides an asynchronous, unencrypted, persistent, key-value storage API.
  • React Content Loader: A SVG-Powered component to easily create placeholder loadings (like Facebook's cards loading).
  • Jest: Jest is a delightful JavaScript Testing Framework with a focus on simplicity.
  • MSW: Mock Service Worker is an API mocking library that allows you to write client-agnostic mocks and reuse them across any frameworks, tools, and environments.
  • Maestro: Maestro is the simplest and most effective mobile UI testing framework.

๐Ÿš€ Open and run the project

First you need to install the native packages and dependencies.

yarn rebuild

Run on IOS

yarn ios

Run on Android

yarn android

Run on Web

First you need run:

yarn cors 
  • The api I used didn't have CORS, so I needed to use a workaround to work on the web.

After, you can run:

yarn web 

Run automatized tests with Maestro

First you need to install the maestro CLI: Maestro

Second you need to run the application.

yarn ios OR yarn android 

Finally, you can run the tests:

maestro test ./test/e2e/main.yml

Run on Tests with Jest

yarn test

Run on Lint to identify problems

yarn lint

Run on Lint to identify and fix the problems

yarn lint:fix

Run TypeScript validator to identify invalid types

yarn typecheck

Environment variables

To run this project, you will need to add the following environment variables to your .env

EXPO_PUBLIC_API_TOKEN

Getting api key

You can easily get your key for free on the website AnimeList API Just register, click on your profile -> account settings -> API menu

Web

Dark

Light

IOS

Dark

Light

Android

Dark

Light

animall's People

Contributors

junioroga avatar juniorogaa avatar

Stargazers

 avatar

Watchers

 avatar  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.