- A package manager (e.g., npm, Yarn, or pnpm)
- A working Firebase account
- Expo Go on your mobile device or simulators
expo-cli
, install withnpm install expo-cli --global
oryarn global add expo-cli
- Clone this repository
- git clone https://github.com/fwenyin/masterplan.git
- Change-directory into the project root
cd masterplan
- Install all dependencies with your package manager
npm install
oryarn install
- Create a Firebase application
- Add a web application to your Firebase project
- Grab the configuration info from Add Firebase SDK If you missed this page, go to Project Overview, scroll down to Your apps, and locate the web app with your set nickname. Under SDK setup and configuration, choose Configand the configuration info is given to you in the form of config firebaseConfig = { ... };.
- In Firebase, enable Authentication by navigating to Build > Authentication > Get started on your Firebase console
- In Firebase, enable Realtime Database by navigating to Build > Realtime Database > Get started on your Firebase console
- You may choose to initialise the database in test mode for debugging purposes.
- Populate the firebase.js file with the Firebase configuration info as follows:
apiKey: "<your firebaseConfig.apiKey>",
authDomain: "<your firebaseConfig.authDomain>",
databaseURL: "<your firebaseConfig.databaseURL>",
projectId: "<your firebaseConfig.projectId>",
storageBucket: "<your firebaseConfig.storageBucket>",
messagingSenderId: "<your firebaseConfig.messagingSenderId>",
appId: "<your firebaseConfig.appId>",
measurementId: "<your firebaseConfig.measurementId>"
- Run the app
npm start
oryarn start
orexpo start