This is a small React Native application that connects to a Fake API to display and filter food dishes, select and delete dishes, and add new dishes.
The application uses the following dependencies:
"dependencies": {
"@react-native-community/masked-view": "^0.1.10",
"@react-navigation/bottom-tabs": "^5.10.0",
"@react-navigation/native": "^5.8.0",
"@react-navigation/stack": "^5.10.0",
"@testing-library/jest-native": "^3.4.3",
"@testing-library/react-native": "^6.0.0",
"axios": "^0.21.0",
"intl": "^1.2.5",
"react": "16.13.1",
"react-native": "0.63.3",
"react-native-gesture-handler": "^1.8.0",
"react-native-reanimated": "^1.13.1",
"react-native-safe-area-context": "^3.1.8",
"react-native-screens": "^2.12.0",
"react-native-vector-icons": "^7.1.0",
"styled-components": "^5.2.0"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/runtime": "^7.8.4",
"@react-native-community/eslint-config": "^1.1.0",
"@types/axios": "^0.14.0",
"@types/intl": "^1.2.0",
"@types/jest": "^25.2.3",
"@types/react-native": "^0.63.2",
"@types/react-native-vector-icons": "^6.4.6",
"@types/react-test-renderer": "^16.9.2",
"@types/styled-components": "^5.1.4",
"@typescript-eslint/eslint-plugin": "^4.6.0",
"@typescript-eslint/parser": "^4.6.0",
"axios-mock-adapter": "^1.19.0",
"babel-jest": "^25.1.0",
"eslint": "^6.5.1",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-airbnb-typescript": "^12.0.0",
"eslint-config-prettier": "^6.15.0",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-plugin-import": "2.21.2",
"eslint-plugin-jsx-a11y": "6.3.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "7.20.0",
"eslint-plugin-react-hooks": "4",
"jest": "^25.1.0",
"json-server": "^0.16.2",
"metro-react-native-babel-preset": "^0.59.0",
"prettier": "^2.1.2",
"react-test-renderer": "16.13.1",
"supertest": "^5.0.0",
"ts-jest": "^26.4.3",
"typescript": "^3.8.3"
}
- Clone the repository to your local machine.
git clone https://github.com/humberto0/refer-a-friend.git
- To install all dependencies.
yarn
- To start the application in development mode.
yarn start
- Open http://localhost:3000 to view it in the browser.
Once the application is running, you can browse and filter the available food dishes, select and delete dishes, and add new dishes.