♻️ Ecoleta - is a way to connect companies and entities that collect organic and inorganic waste to people who need to dispose of their waste in an ecological way.
Developed at NLW#1
Practical project for study
- Installing Git: You need to have Git on your machine to perform a few steps. To download Git, click here.
- Installing Node: To run the server you will need Node.js, to download it, click here.
- Installing Expo: To run the mobile, you need to install the Expo, click here.
- Installing Yarn 1: Yarn is a package manager that you can download directly from the website by clicking here. If you prefer, use the NPM.
- Code Editor (optional): Make sure you have a code editor of your choice. I recommend using the VS Code. If you need to, download it here.
- In a terminal, clone this repository:
git clone https://github.com/Silvio-Ronaldo/Ecoleta.git
- Enter the project folder:
cd Ecoleta
- Enter the server folder:
cd server
- Install all dependencies:
yarn install
oryarn
- Start the database with Knex migrations:
yarn knex:migrate
yarn knex:seed
- Start the development server:
yarn dev
- After these steps, the server should start at the 3333 port.
- If you have already cloned the repository, proceed, otherwise, see step 1 in 'running the backend server'
- Enter the project folder:
cd Ecoleta
- Enter the web folder:
cd web
- Install all dependencies:
yarn install
oryarn
- Start the web development server:
yarn start
- After these steps, the server should start at the 3000 port, open the browser and access http://localhost:3000.
- With the Expo installed, according to the documentation, follow
- Enter the project folder:
cd Ecoleta
- Enter the mobile folder:
cd mobile
- Install all dependencies:
yarn install
oryarn
- Start the mobile development server:
yarn start
- After these steps, the mobile application must start on your emulator or on your device, according to your choice.
The following tools were used in the development of the project:
- Expo
- React Native
- TypeScript
- React Navigation
- React Native Maps
- React Native Svg
- React Native Reanimated
Silvio Ronaldo 🍀 |
Leave your star, fork the project or open a pull request ❤️
Contact me on social networks:
Ecoleta is MIT licensed, as found in the LICENSE file.