An expo react-native app to quickly estimate carbon emissions for travel options between 2 places. Bult in 1 week by students as a final project for EDA
Clone and cd into this repo
git clone https://github.com/bosh-code/unnamed-eco-app.git
cd unnamed-eco-app
Use npm to install expo-cli
and yarn
globally if you have not already
npm i expo-cli -g
npm i yarn -g
Then use yarn or npm to install dependencies
# with yarn
yarn install
# with npm
rm yarn.lock
npm install
To start the expo development server on your machine use the start
script
# with yarn
yarn start
# with npm
npm run start
Expand to see scripts
{
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject"
},
}