- NodeJS (16.x.x)
- PostgreSQL (13.x)
- Yarn
We have certain quality criteria, which we should follow during application development.
This project is mainly focused on the Android platform. Pay attention that if we add any library, we MUST configure it for both IOS and Android platforms.
Also please note that we use yarn
for this project.
In case you install new library don't forget to run cd ios && pod install
or just npx pod-install
Commit message must have next structure:
GUM-<task #>: <description>
task #
- Trello task numberdescription
- a short summary of code changes
Examples:
GUM-15: add private routes
GUM-9: change button-styles
GUM-32: fix user profile avatar
In this project we follow with Pull Request process. Two main branches (main
and develop
) are protected with Github branch protection rules:
- Require pull request with 2 reviews and at least one from code owner before merging
Normal flow is to create a new branch for each task or group of linked tasks. Name of branch must have next structure:
<prefix>/GUM-<task #>-<description>
prefix
- allowed prefixes:new
,patch
,fix
.task #
- Trello task numberdescription
- a short summary of the task
Examples:
new/GUM-15-private-routes
patch/GUM-9-button-styles
fix/GUM-32-user-profile-avatar
After task is completed ― create PR of your branch into develop
and assign other developers to review.
- Create and fill in .env file following .env.example file
- If you want, create firebase project add both ios and android apps follow the instructions to save google-services key files.
- Run
yarn
at the root folder - Start Metro:
yarn start
- Start the app:
yarn android
in a new terminal