In this application it is possible to register collection points and types of materials collected, showing them on maps and allowing you to search for the nearest points.
- ⚙ Tecnologies
- 💻 How to run
- 📷 Previews
-
Back end
- NodeJS
- Express
- Typescript
- Sqlite
- multer
- celebrate/Joi
-
Front end
- ReactJS
- Typescript
- react-router-dom
- axios
- leaflet (Free map)
- react-leaflet
-
Mobile
- React Native/Expo
- Typescript
- react-navigation
- axios
- react-native-picker-select
- react-native-svg
- react-native-maps
- expo-font
- expo-location
- expo-mail-composer
Cloning the repository
# Cloning repository
git clone https://github.com/AugustoMarcelo/ecoleta.git
Copy the .env.example
and create .env
with your IP and PORT informations
Running server
# Accesing server
cd server
# Creating tables
yarn run knex:migrate
# Creating seeds
yarn run knex:seed
# Running server
yarn dev
Running web project
# Accesing web project
cd web
# Running web project
yarn start
Running mobile project You will need to download the Expo app. When the application starts, scan the qrcode with the Expo you installed.
# Accessing mobile project
cd mobile
# Change the IP in services/api.ts to connect with the back end
cd services
# Running
yarn start