Skip to content

johnarce/celsius-app

Repository files navigation

Power to the people

Celsius Mobile App

The Celsius mobile app enables you to calculate loan and interest rate based on your crypto holdings.

Install Application on your mobile device

  1. Android users
  2. iPhone users (under review)

Dev section

Dev environment setup

  • npm install -g expo
  • npm install
  • npm run start:dev:staging

Ask dev team for:

  • /config folder
  • app.json
  • relevant credentials

Testing the app in staging environment

  • install expo app on device
  • ask dev team for expo credentials
  • Open Staging

Dev commands

$ npm start
  • starts expo project (use one of npm run start:dev commands instead)
$ npm run start:dev
  • starts expo project with environment settings from app.json
$ npm run start:dev:local
  • updates app.json with local settings and starts expo project
$ npm run start:dev:staging
  • updates app.json with staging settings and starts expo project
$ npm run kill:expo
$ npm run ios
  • starts ios simulator and react native debugger
$ npm run android
$ npm run lint
  • checks the code for linting errors
$ npm run env:local
  • updates app.json with local environment variables
$ npm run env:staging
  • updates app.json with staging environment variables
$ npm run env:production
  • updates app.json with production environment variables
$ npm run publish:staging
  • publishes staging app to expo
$ npm run deploy:staging
  • sets staging environment variables and publishes app to staging
$ npm run plop
  • runs plop More.... Available plops for: TODO

Tools

Dependencies used

Dev dependencies