Skip to content

MarcoF09/hackatonApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Martín Fierro

This is the source code of the mobile application in context of Covid Global Hackaton.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

To the enviroment setup to use react native you need to follow the steps specified in the following link https://reactnative.dev/docs/environment-setup in the 'React Native CLI Quickstart' section.

Install Required Dependencies

Project local Configuration

In both platforms you will need to execute:

$ yarn install

Android

To run the project in android you will need to create a fil calles local.properties into the android folder which will have the path of your android sdk. It will container something like that:

sdk.dir=/Users/{user}/Library/Android/sdk

Then you will need to open android studio and run the project or run directly from command line executing:

$ yarn android

Ios

To run the project in ios first you will need to install pods:

$ cd ios
$ pod install

Then you will need to open the project workspace with Xcode or run directly from command line executing:

$ yarn ios

Deployment

Add additional notes about how to deploy this on a live system

Tech Stack

Component folder structure

This template follows the next structure:

  • src: Main container of all the code inside the application.
    • components: Contains every presentational component that is widely used thoughout the project.
    • assets: Contains every asset used in the application (images, audio, video, etc)
    • styles: Global styles, fonts, colors used throughout the codebase
    • common: Contains every element that has common behaviour for every action, component, etc in the project.
      • strings.ts: localized strings used globally on the app
    • networking: Contains all logic related to networking and service communication.
    • hooks: Contains all common custom hooks.
    • store: Contains all logic related to data storage.
      • global: Containts global reducers/actions/actionCreators
    • config: Configuration files, such as development constants, environment variables.
    • scenes: Every flow in the application should be here inside a corresponding folder, with its component, styles, strings and such.
      • index.tsx: Contains a scene where a Layout is composed with hocs that add functionality
      • Layout.tsx: Contains scene layout
      • types.ts: types constrained to this scene
      • styles.ts: styles constrained to this scene
      • strings.ts: localized strings used on this scene
    • navigation: Every related to navigation should be here.
    • types: Interfaces, model entities.

Navigation

The library React Navigation is already provided to perform the navigations in the application. This was decided due to its popularity and the fact that it's been considered the standard solution by the react community and also we have in account previous experiences with other libraries, all of this make together make that we choose React Navigation.

Debugging

The standalone app for macOS React Native Debugger is recommended due to it's ease of use and good integration with Redux and it's debug tools. For other platforms or another preferences, debugging with Chrome is enough.

Authors

  • Marco Fiorito

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published