Node.js must be installed
Open this folder in command line and then type npx install expo
or npm install
and run using npx expo start
. The follow the on-screen instructions
on how to run on mobile (web mode is not recommended as the site was made for mobile)
The format for data (e.g. the number of birds logged)
This data logs the number of birds spotted for specified species in a dictionary index: the same number used for indexing the birds. This is so that the dictionary can also be checked if the bird has already been added value: the number spotted by the user
A simple list with every colour. Any new sets of colours must have an identical layout to that of the original Colors.js
Under each pages is listed the properties passed through as a parameter in 'props'. Every component must have the following values in the props dictionary, on top of those also listed:
- colors: the site's colour scheme in list format
- navigation: used for navigating to other pages (or going back a page)
Under each tempplate is listed the properties passed through as a parameter in 'props'. Every component must have the following values in the props dictionary, on top of those also listed:
- colors: the site's colour scheme in list format
- children: allows children
- buttonName: title of button
- navigation: navigation object
- onButtonPress: function on button press
- hyperText: text of hyperlink
- hyperLink: text of link in hyperlink
- hyperPage: page the hyperlink takes the user to
- navigate: navigation class
- children: takes in children
Under each component is listed the properties passed through as a parameter in 'props'. Every component must have the following values in the props dictionary, on top of those also listed:
- colors: the site's colour scheme in list format
- title: text above text box
- placeholder: placeholder text
- (optional) alt: boolean, colour as red instead of green
- (optional) hintText: text which will appear in the hint modal
- title: text in big button
- onPress: function to be performed when the button is pressed
- (optional) source: source of image
- (optional) alt: changes to alternate colour when true
- (optional) small: changes to small icon
- (optional) alt: changes to alternate colour when true
- (optional) compact: boolean, compact a button
- text: text in big button
- link: hyperlink text
- (optional) alt: boolean, colour as red instead of green
- text: text which will appear in the modal
- (optional) alt: boolean, colour as red instead of green
- handletoggle: function when toggling
- style: additional style of container
- grey: boolean, is grey with no shadow
- bird: bird class
- birds: bird list
- log: log list
- setLog: set log list function
- birdIndex: index of bird list
- navigation: navigate class for navigating back home
- (optional) full: boolean, displays 'Add to log +', not 'Add +'
- navigation: navigate class for navigating back home
- birdIndex: index of bird list
- (optional) smallText: boolean, small text
- (optional) compact: boolean, compact button
- navigate: navigation class
- (optional) hideBack: hide back button
- (optional) hideHome: hide home button
- bird: bird
- navigation: navigation class
- birds: birds list
- log: log list
- setLog: set log list function
- birdIndex: index of bird list
- navigation: navigate class for navigating back home