Coder Social home page Coder Social logo

rnreadmetemplete's Introduction

Project Title

A description of what the project is about. Give a brief description of the project. What was the reason or motivation behind the creation of the project?

Contents

Prerequisites

What is needed to set up the dev environment. For instance, global dependencies or any other tools. include download links.

Dependencies

Additional dependencies for this project. Each item should contain the dependency name, purposes and its download link.

Dev Dependencies

Additional dev dependencies for this project. Each item should contain the dependency name, purposes and its download link.

Folder structure

Describe the project structure like the following example:

  • actions: This folder contains all actions that can be dispatched to redux.
  • assets: Asset folder to store all images, vectors, etc.
  • components: Folder to store any common component that you use through your app (such as a generic button)
  • constants: Folder to store any kind of constant that you have.
  • controllers: Folder to store all your network logic (you should have one controller per resource).
  • localization: Folder to store the languages files.
  • navigation: Folder to store the navigators.
  • reducers: This folder should have all your reducers, and expose the combined result using its index.js
  • screens: Folder that contains all your application screens/features.
    • Screen: Each screen should be stored inside its folder and inside it a file for its code and a separate one for the styles and tests.
      • Screen.js
      • Screen.styles.js
      • Screen.test.js
  • selectors: Folder to store your selectors for each reducer.
  • storage: Folder that contains the application storage logic.
  • store: Folder to put all redux middlewares and the store.
  • test-utils: Folder to store tests-related utilities and components.
  • theme: Folder to store all the styling concerns related to the application theme.
  • App.js: Main component that starts your whole app.
  • index.js: Entry point of your application as per React-Native standards.

Usage

Give a detail explanation on how your package is used. For REST APIs, a Swagger api documentation link is needed in this section.

Sample

Sample component that demonstrates how a API or a component documentation should be.

holds camera state and provides camera controls

import { Sample } from '@react-native-fihtdc-sample';
const App = () => <Sample title="Hello World!" />;
Prop Type Default Note
url string Ttitle of the Sample component.

return values:

None

Build

Describe how to build debug/production version step by step. For instance these are the steps to generate .apk, .aab and .ipa files

Android

  1. Generate an upload key
  2. Setting up gradle variables
  3. Go to the android folder
  4. Execute ./gradlew assemble[Env][BuildType]

Note: You have three options to execute the project assemble: Generates an apk that you can share with others. install: When you want to test a release build on a connected device. bundle: When you are uploading the app to the Play Store.

For more info please go to https://reactnative.dev/docs/signed-apk-android

iOS

  1. Go to the Xcode
  2. Select the schema
  3. Select 'Any iOS device' as target
  4. Product -> Archive

For more info please go to https://reactnative.dev/docs/publishing-to-app-store

Tests

Describe how to test this package and components.

yarn lint && CI=true yarn test --coverage

Style Guide

Describe what is the coding styles for this project. For coding styling, we decided to go with ESLint and React Native community's style guide.

Contributing Guide

Describe how others may contribute to the project. See the following example. If you joined this project, please follow the rules below.

- Workflow

  1. New branch (Format: Date_Introduction) and make functions, example below.

    $ git checkout -b 20220111_FixRouteGPS
    <after patch is made>
    $ git push
  2. Go to GitLab page to new 'Merge Request', set the target branch to dev.

  3. Request reviewing.

  4. Reviewer accept(or reject) the Merge Request.

- Commit messages

[tag]: [action]
example. "feat: Fix route GPS bug"

The tags are listed below.

- feat: (a new feature)
- fix: (a bug fix)
- docs: (changes to documentation)
- style: (formatting, missing semi colons, etc; no code change)
- refactor: (refactoring production code)
- tests: (adding tests, refactoring tests; no production code change)
- chore: (updating build tasks, package manager configs, etc; no production code change)
- ci: (CICD flows; no production code change)

Maintainers

rnreadmetemplete's People

Contributors

agvasquez avatar dependabot[bot] avatar donatoaguirre24 avatar fedeojeda95 avatar jack1118 avatar jmzp avatar jngalletto avatar mcousillas6 avatar sebastianpaz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.