Skip to content

Latest commit

History

History
107 lines (74 loc) 路 2.45 KB

README.md

File metadata and controls

107 lines (74 loc) 路 2.45 KB

litten

Litten

Litten mobile app repository using React Native and Firebase.

Development Commands

# Install dependencies
yarn install

# Install the cocoapods dependencies
yarn pods

# Run the Android simulator
yarn android

# Run the iOS simulator
yarn ios

# Run the ES linter
yarn lint

# Run Prettier
yarn pretty

# Run the type checker (TypeScript)
yarn type-check

# Run the tests
yarn test

# Prepare the data dependencies
yarn prepare-data

# This will seed the Firestore DB with some data
yarn firestore:seed

# This will start the Firebase Emulator
yarn start:firebase

Generic account

After seeding the Firestore DB, a generic account can be used right away.

   email: team@litten.app
password: thisisthepassword

Environment

Customize the environment variables, some functions might fail due to lack of certain API keys.

cp .env.example .env

cp android/secure.properties.example android/secure.properties

The GOOGLE_API_KEY needs to be available for the location functions.

Detailed instructions on how to setup the environment are available here.

Backend

Currently, the project relies on a Firebase infrastructure. The app will fail to build until a new project is setup and the GoogleService-Info.plist configutarion file is added to the ios directory, as well as the google-services.json file to android/app.

Additionally, you should install, configure and integrate the Local Emulator Suite.

# Install the Firebase Tools
npm install -g firebase-tools

Current API dependecies

License

The project's source code is licensed as AGPL-3.0, but the images and the design are not licensed.