This is a minimal dictionary application that allows users to search a variety of words. Users can search for words and if the word exist in the dictionary then the user will see the meaning and some grammatical details related to that word with available image. User can also save their favorite words which they can review later in the favorite tab. The words in the favorite tabs divided by the grammatical syntax's (verb, noun etc).
- React Native
- Typescript
- Axios
- Owl Bot API
- Async Storage
- Modular Component
- Composite Component
- Jest
- React Test Renderer
- git
- Linux (Ubuntu 20.04)
- NodeJs
- Android SDK
- Android Emulator
If you want to run the project please proceed with the following instructions,
- Setup React Native Environment (Environment Setup Link)
- Download the project,
git clone https://github.com/absjabed/favourite-words.git cd favourite-words
- Install the dependencies,
yarn install
- Start Android Emulator and check if it's available with
adb devices
- In separate terminal Run following command for (Metro Bundler),
npx react-native start
- To run the project in the emulator,
npx react-native run-android
- If running fails follow the instruction below,
# for linux cd android ./gradlew clean # for windows gradlew clean # again run npx react-native run-android
- To run the tests,
yarn test
- If
snapshot
test fails for no reason, update snapshots with below command,yarn test -u
If you have docker installed and have internet connect please follow the steps to build release,
- Clone the project
git clone https://github.com/absjabed/favourite-words.git cd favourite-words
- Run the following command to build the project,
docker run -it --rm -v $PWD:/app -w /app reactnativecommunity/react-native-android /bin/bash -c "yarn install && cd /app/android && ./gradlew assembleRelease"
- Find your apk file in the following location of your current directory (favourite-words)
favourite-words/android/app/build/outputs/apk/release/apk-release.apk
If you want to build the release apk please proceed with the following instructions,
- Download the project,
git clone https://github.com/absjabed/favourite-words.git cd favourite-words
- To install the yarn dependencies,
yarn install
- To clean the previous gradle build,
cd android # for linux ./gradlew clean # for windows gradlew clean
- To build the release apk
./gradlew assembleRelease
- If you want to build release apk with Emulator Connected
npx react-native run-android --variant=release
- Finally, find the apk in the following locaiton,
favourite-words/android/app/build/outputs/apk/release/apk-release.apk
To see a live demo please visit: App-Video-Link
Left | Right |
---|---|