https://github.com/faical-allou/flocals-app
https://github.com/faical-allou/flocals-app
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/faical-allou/flocals-app
- Owner: faical-allou
- Created: 2019-07-14T09:28:22.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-19T01:10:39.000Z (11 months ago)
- Last Synced: 2025-04-05T13:22:13.911Z (6 months ago)
- Language: JavaScript
- Size: 10.7 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

A video demo can be found [on youtube here](https://youtu.be/ilsmJ3jalu8)
# flocals-app
This app requires an endpoint whose repo is [here](https://github.com/faical-allou/flocals) if you want to run your own instance.
Otherwise, you can also use the current herokuapp running here: 'https://flocals.herokuapp.com' with the caveat that it is not maintained, goes to sleep after 30min of inactivity, is load restricted and could be terminated anytime.To get started you also need a few external accounts (free and freemium):
+ Expo: https://expo.io/
+ React Native: https://facebook.github.io/react-native/
+ firebase: https://firebase.google.com/
+ GCP: https://cloud.google.com/
where you need to enable:
* Places API
* Translation APIand a bunch of dependencies that can be installed with *yarn* or *npm*
To make the app work you'll need a folder config and a file config.js in it with the following format:
```
export default variables = {
endpoint : 'https://flocals.herokuapp.com',G_Places_API: 'abc',
G_firebase_key: "efg",
fire_authDomain: "xxx.firebaseapp.com",
fire_databaseURL: "https://xxx.firebaseio.com",
fire_projectId: "xxx",
fire_storageBucket: "",
fire_messagingSenderId: "123",
fire_appID: "foo:bar",default_pic: 'https://placeimg.com/140/140/any',
landingScreen: 'Home',
destination: 'CDG',
sessionid: '190901SQ1000CDG',
airlinename: 'ECAir',
initialState: 'loggedin', //use 'loggedin' to start logged-in
userid: 'Batman',
userlang : 'default', //use 'default' to start the normal app
};
```It is a pretty standard set up with expo which tutorial is here: https://expo.io/learn.
You'll also need the expo app on your phone or an emulator to see it running.
Once expo is running you need to run `expo start` and scan the QR code (or press the a key to see it running in an emulator)That's quite a long set up, and many things can happen in between. If you have any issue, you can ping me here or in linkedin
Have fun