Skip to content

Steffany-Martins/nlw-ecoleta

Repository files navigation

logo next level week


ℹ️ What's Next Level Week?

NLW is a practical week with lots of code, challenges, networking and a single objective: to take you to the next level. Through our method you will learn new tools, learn about new technologies and discover hacks that will boost your career. An online and completely free event that will help you take the next step in your evolution as a dev.

Days

  • Dia 1: Acelerando sua evolução 01/06 - ✔️
  • Dia 2: Olhando para as oportunidades 02/06 - ✔️
  • Dia 3: A escolha da Stack 03/06 - ✔️
  • Dia 4: Até 2 anos em 2 meses 04/06 - ✔️
  • Dia 5: Milha extra 05/06 - ✔️

💻 Project

Ecoleta is a project developed based on international environment week. That aims to connect people to companies that collect specific waste such as light bulbs, batteries, cooking oil, etc.

capa layout ecoleta

🚀 Technologies

This project was developed with the following technologies:


  • Node.js
  • TypeScript
  • React
  • React Native
  • Expo

ℹ️ How To Use


To clone and run this application, you'll need Git, Node.js + Yarn installed on your computer.

From your command line:

Install API - Backend


# Clone this repository
$ git clone git@github.com:Steffany-Martins/nlw-ecoleta.git

# Go into the repository
$ cd nlw-ecoleta/Backend

# Install dependencies
$ yarn install

# Run Migrates
$ yarn knex:migrate

# Run Seeds
$ yarn knex:seed

# Start server
$ yarn dev

# running on port 3333

You can configure your project to your own Database preferences and check your IP preferences (available in LAN - EXPO) to connect the Backend with Applications

Connect with your database.

In this case, the database is sqlite. But can be pgAdmin and others SGBD

You can start connection in your database with connection.ts

Install Front-end


# Clone this repository
$ git clone git@github.com:Steffany-Martins/nlw-ecoleta.git

# Go into the repository
$ cd nlw-ecoleta/FrontEnd

# Install dependencies
$ yarn install

# Run
$ yarn start

# running on port 3000

Install Mobile


# Clone this repository
$ git clone https://github.com/Steffany-Martins/nlw-ecoleta.git

# Go into the repository
$ cd nlw-ecoleta/Mobile/mobile-app

# Install dependencies
$ yarn install

# Run
$ yarn start

# Expo will open, just scan the qrcode on terminal or expo page

# If some problem with fonts, execute:
$ expo install expo-font @expo-google-fonts/ubuntu @expo-google-fonts/roboto

You need to configure the IP in services api because in Mobile don't exist localhost:3333. Exist only ip network and port '3333'

🤔 How to contribute

🔀 Make a fork 🔀

Create a branch with your feature: git checkout -b my-feature; Commit changes: git commit -m 'feat: My new feature'; Make a push to your branch: git push origin my-feature. After merging your receipt request to done, you can delete a branch from yours.

📝 License

This project is under the MIT license. See the LICENSE for details.

✔️ Made by Steffany Martins

👋 Let's connect!

Inspiration:

©️ Daniel Obara Readme©️

About

NEXT LEVEL WEEK 0.1 Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published