-
Through app is possible to search based on location and the type of waste and check all points available
-
Through website points of collection can register themselves in map and let public know their location and which kind of garbage they accept
Validations response in web client side:
-
Clone this project in your projects directory:
git clone https://github.com/joao-gabriel-gois/ecoleta.git
-
Move to this directory and install all required dependencies:
cd ecoleta/server && yarn && cd ../web && yarn && cd ../mobile && yarn
-
In case of yarn is not installed in your environment, you can use npm to install dependencies (use
npm isntall
instead of yarn in the above command). However, I strongly recommend you to use yarn. To install it, run:npm install -g yarn
-
-
Run migrations first for SQLite, after move to server directory (in case of using npm use
npm run
instead ofyarn
for all commands from now on):cd ../server yarn knex:seed && yarn knex:migrate
-
Then run the server (only development mode available for now):
yarn dev
-
Start ReactJS and it will open the browser with project running:
cd ../web && yarn start
-
Start Expo:
cd ../mobile && yarn start
-
It will open a screen with one QR code. Read this QR code with expo installed in your device, and it will load and run the application for you.
-
You need to install expo in your mobile phone.
-
For Android, install this app: click here
-
For iOS, install this app: click here
-
-