A visualisation tool for educational facilities to help students better manage their time and gain access to university resources.
- Download the Expo Go app.
cdinto a folder titled LabFlow (ensure the folder contains the fileApp.js) and run the commandnpx expo startin a terminal.- A QR code will be generated in the terminal. Scan this using the Expo Go app or your phone camera app.
- The app should load and you can create an account to sign up or login if you have a pre-existing account.
- Since this is a demo and still a prototype I have saved the API token as a local environment variable (DO NOT CHANGE THIS OR AUTHENTICATION WILL FAIL).
cdinto the folder titledbackend, this folder should contain a folder titledtestswhich holds all the unit tests for the API endpoints.- Ensure you have installed the following python libraries onto your system using a package manager of your choice. I will use pip as an example:
pip install requestspip install pytestpip install datetime
- Once you have the correct libraries installed. Run the command
pytest, this will search thetestsfolder for all test files to execute. - You will have to run this command twice. On first run the tests are likely to fail due to the cold start caused by using serverless functions on a low tier plan.