All Projects → dooboolab → talktalk-rn

dooboolab / talktalk-rn

Licence: other
(Deprecated via hackatalk-mobile) talktalk app built in react-native.

Programming Languages

typescript
32286 projects
objective c
16641 projects - #2 most used programming language
javascript
184084 projects - #8 most used programming language
Starlark
911 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to talktalk-rn

devto-monorepo
Source code for the Dev.to article - Next.js, Apollo Client and Server on a single Express app
Stars: ✭ 33 (+6.45%)
Mutual labels:  apollo-client
apollo-phoenix-websocket
An Apollo networkInterface for executing GraphQL queries via Phoenix Channels
Stars: ✭ 91 (+193.55%)
Mutual labels:  apollo-client
gitstar
Github Client built with React Apollo
Stars: ✭ 15 (-51.61%)
Mutual labels:  apollo-client
lifemanager
⏱ 한 일을 기록하면 시각화 해서 보여주는 웹 앱⏱
Stars: ✭ 85 (+174.19%)
Mutual labels:  apollo-client
chanyeong
👨‍💻 chanyeong's portfolio and blog webpage
Stars: ✭ 39 (+25.81%)
Mutual labels:  apollo-client
jest-gql
✅🚀GraphQL based tests for Jest and Apollo
Stars: ✭ 33 (+6.45%)
Mutual labels:  apollo-client
pokedex-react
A Pokedex App using and teaching Apollo and React
Stars: ✭ 47 (+51.61%)
Mutual labels:  apollo-client
friendly-vue-starter
Full featured Vue.js starter project for browser apps
Stars: ✭ 37 (+19.35%)
Mutual labels:  apollo-client
react-apollo-fragments
True Fragment component for react-apollo
Stars: ✭ 13 (-58.06%)
Mutual labels:  apollo-client
laika
Log, test, intercept and modify Apollo Client's operations
Stars: ✭ 99 (+219.35%)
Mutual labels:  apollo-client
react-native-appsync-s3
React Native app for image uploads to S3 and storing their records in Amazon DynamoDB using AWS Amplify and AppSync SDK
Stars: ✭ 18 (-41.94%)
Mutual labels:  apollo-client
RxApolloClient
RxSwift extensions for Apollo Client
Stars: ✭ 46 (+48.39%)
Mutual labels:  apollo-client
graphql-codegen-apollo-next-ssr
Autogenerate apollo code for nextjs ssr
Stars: ✭ 176 (+467.74%)
Mutual labels:  apollo-client
vscode-graphiql-explorer
Use GraphiQL + GraphiQL Explorer to build your GraphQL operations, right from inside of VSCode.
Stars: ✭ 35 (+12.9%)
Mutual labels:  apollo-client
agollo
🚀Go client for ctrip/apollo (https://github.com/apolloconfig/apollo)
Stars: ✭ 563 (+1716.13%)
Mutual labels:  apollo-client
apollo-graphql-full-stack
Full-stack Apollo GraphQL app using React and Node JS
Stars: ✭ 31 (+0%)
Mutual labels:  apollo-client
fullstack-jobs
Real(ish) demo using Angular with ASP.NET Core GraphQL and IdentityServer.
Stars: ✭ 84 (+170.97%)
Mutual labels:  apollo-client
graphql-workshop
⚒ 🚧 A GraphQL workshop to learn GraphQL implementations
Stars: ✭ 20 (-35.48%)
Mutual labels:  apollo-client
GraphQL-Client-Exploration
Simple exploration of GraphQL Clients
Stars: ✭ 18 (-41.94%)
Mutual labels:  apollo-client
GraphQL-Android
A project for showing use of apollo-android for consuming github graphQL API
Stars: ✭ 51 (+64.52%)
Mutual labels:  apollo-client

Transferred to HackaTalk

TalkTalk (Deprecated)

CircleCI codecov PRs Welcome All Contributors Slack Greenkeeper badge

m63gkogvnu

Specification

  • typescript
  • styeld-component
  • react-hook
  • react-navigation
  • localization
  • jest
  • react-native-testing-library

Gain points

1. Sample of `react context api provider`.
2. Able to learn how to structure react native app with `context api` and `jest` and `typescript`.
3. Test type with `typescript` with `npm run build` command.
4. Learn how to localize your project.

INSTALL

1. npm install
2. npm start

Structures

app/
├─ .doobooo // necessary if using dooboo-cli
├─ assets
│  └─ icons // app icons
│  └─ images // app images like background images
├─ node_modules/
├─ src/
│  └─ apis
│  └─ components
│  └─ providers
│  └─ utils
│  └─ index.ts
├─ test/
├─ .buckconfig
├─ .eslintignore
├─ .eslintrc.js
├─ .gitattributes
├─ .gitignore
├─ .watchmanconfig
├─ app.json
├─ babel.config.js
├─ index.js
├─ package.json
├─ README.md
└─ STRINGS.ts

Running the project

Running the project is as simple as running

npm run start

This runs the start script specified in our package.json, and will spawn off a server which reloads the page as we save our files. Typically the server runs at http://localhost:8080, but should be automatically opened for you.

Testing the project

Testing is also just a command away:

npm test

Writing tests with Jest

We've created test examples with jest-ts in src/components/screen/__tests__ and src/components/shared/__tests__. Since react is component oriented, we've designed to focus on writing test in same level of directory with component. You can simply run npm test to test if it succeeds and look more closer opening the source.

Localization

We've defined Localization strings in STRINGS.ts which is in root dir. We used react-native-localization pacakage for this one.

import LocalizedStrings from 'react-native-localization';

const strings = new LocalizedStrings({
  en: {
    LOGIN: 'Login',
  },
  kr: {
    LOGIN: '로그인',
  },
});

export {
  strings,
};

Fixed jest setup by adding following in jestSetup.

import { NativeModules } from 'react-native';

/**
 * monkey patching the locale to avoid the error:
 * Something went wrong initializing the native ReactLocalization module
 * https://gist.github.com/MoOx/08b465c3eac9e36e683929532472d1e0
 */

NativeModules.ReactLocalization = {
  language: 'en_US',
};

React version

16.8

React Native version

0.59

React navigation

3

Contributors

Thanks goes to these wonderful people (emoji key):

Hyo Chan Jang
Hyo Chan Jang

💻 📖 ⚠️
TaeSeong Park
TaeSeong Park

💻 📖 ⚠️
Hyeseong Kim
Hyeseong Kim

💻 📖 ⚠️
YongPilMoon
YongPilMoon

💻 ⚠️
bumjoo.lee
bumjoo.lee

💻 ⚠️
SeongBeomShin
SeongBeomShin

💻 ⚠️
Hwasung Kim
Hwasung Kim

💻 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].