This is the mobile-end work for GreenTrade app
please make sure you have the following software installed on your computer:
- Node.js 10 LTS or later
- You can open your "Command Line" and type: node -v to see your Node.js version printed in the terminal.
-
A text editor that can be used to edit JavaScript, I'm using VSCode for this project
-
You should also install the Expo app on your phone just for testing purpose.
-
After all of the steps above done, you can use npm to install the Expo CLI command line utility:
npm install -g expo-cli
-
Open this project in your VSCode, and Ctrl+ ` to open the terminal
-
Type in the terminal to install the libraries which are used and run this project
npm install npm start
You can add or work on your screens in the folder called navigations. Making your own screen please follow the rules below.
- Each screen should has it own folder, which includes its view object and style.
- You should always keep all of the styles for the certain screen in your seperate style file.
- Do Not make any changes in the App.js.
- Create your own components in the folder called components.