Skip to content

joao-gabriel-gois/ecoleta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ecoleta

With Ecoleta is possible to integrate points of garbage collection to general public.

  • 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

Image of Ecoleta

Preview:

Web:

Web Example

Validations response in web client side:

Validation Example

App:

App Example

To run this project:

  • 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

To run the server

  • Run migrations first for SQLite, after move to server directory (in case of using npm use npm run instead of yarn 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

To run the web project

  • Start ReactJS and it will open the browser with project running:

    cd ../web && yarn start

To run the mobile project

  • 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.

About

Ecoleta - to connect Points that collects recyclable or non-recyclable waste to public

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •