This is a mobile application that acts as your virtual buddy that allows you to book any organizational meeting rooms directly from your phone.
Check the product scope and road map
Ensure you have NodeJS and Yarn installed before you start the installation process. To download NodeJS and Npm click here. OR To install Node.js and Npm via package manager click here
- Clone the repository to your computer ensure to run the command below in the directory you want to store the project.
# git clone https://github.com/AnayoOleru/Companion-app.git
Creating a new file .env
under root directory, and ensure you have all environment variables. The sample of .env
can be found here.
- Ensure you Install flow-bin globally - follow instructions
For Visual Studio Code
- Ensure you install the Vs Code extension thats supports flow called Flow Language Support --> https://marketplace.visualstudio.com/items?itemName=flowtype.flow-for-vscode.
- Then go to your editor user settings and add "javascript.validate.enable": false. On VScode, press CMD+SHIFT+P and then type in Preferences to open your settings in JSON. At this point you can add "javascript.validate.enable": false to your user settings
- Run
yarn global add expo-cli
in the terminal to install the expo-cli globally. - Install the Expo app in your iOS/Android phone (
skip this step if you intend on using an emulator/simulator
)
Ensure you have an emulator installed, the links below will help guide you through the set up.
-
Run
yarn install
- To automatically install all dependencies. -
Run
yarn start
- To run the project. -
Scan the QR code the with the Expo app on your modile device or ensure that you're simulator/emulator is running, then press i or a to run the project on iOS or Android respectively.
Note:
For an iOS device open the phone camera app and scan the QR Code, you will then be prompted to open in expo, accept the prompt to start.
yarn test
yarn test:update
Here's a link to the wiki page.