You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.8 KiB

4 years ago
4 years ago
3 years ago
  1. # WPD-MobileApp
  2. This project contains the components developed for a mobile app within the Waterproofing Data Project - WPD-WP6.
  3. # Tech stack
  4. - [React Native](https://reactnative.dev/)
  5. - [Expo](https://docs.expo.io)
  6. # Folder Structure Convention
  7. > Folder structure options and naming conventions for this project
  8. ### Directory layout
  9. ```
  10. .
  11. ├── LICENSE # License description file
  12. ├── README.md # Readme description file
  13. └── db # database files
  14. └── src # source files
  15. ├── App.js # app initial file
  16. ├── app # app custom folders and files
  17. │   ├── assets # assets folder (images and static)
  18. │   ├── components # basic components folder
  19. │   ├── config # common config files
  20. │   ├── hooks # custom hooks
  21. │   ├── navigation # navigation files and routes
  22. │   └── screens # screen files
  23. ├── app.json
  24. ├── babel.config.js
  25. ├── package-lock.json
  26. ├── package.json
  27. ├── web-build
  28. │   └── register-service-worker.js
  29. └── yarn.lock
  30. ```
  31. ## Setting up
  32. $ git clone https://github.com/IGSD-UoW/WPD-MobileApp.git
  33. $ cd WPD-MobileApp/src
  34. $ npm install
  35. ## Running
  36. $ cd WPD-MobileApp/src
  37. $ npm start
  38. ## Running unit tests with [Jest](https://docs.expo.io/guides/testing-with-jest/)
  39. $ cd WPD-MobileApp/src
  40. $ npm run test