Skip to content

♻️ A waste collection marketplace - platform built at Next Level Week 1 (NLW #01 Booster)

License

Notifications You must be signed in to change notification settings

victor-kayan/ecoleta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Helping people efficiently find waste collection points!

Made by Rocketseat License GitHub repo size


📌 About this project

♻️ Ecoleta is a platform which helps people find waste collection points, aiming to facilitate the correct disposal.

It is composed by two main modules: 💻 web and 📱 mobile, in addiction to a ☁️ RESTful API as backend for both applications.

This project was built during the first edition of Next Level Week.

Big thanks to Rocketseat, especially to Diego Fernandes, for holding this event!

🛠️ Technologies

☁️ For API REST: Node.js and Express.js

💻 For web: ReactJS

📱 For mobile: React Native and Expo

🎉 In general: TypeScript

🚀 How to run the platform

💡 It is worth mentioning that both web and mobile apps need the backend server running to work properly. Keeping that in mind, let's go ahead...

👀 Prerequisites

First thing first, you are going to need to have installed in your machine:

Optionally, if you wish to edit the code, I would recommend Visual Studio Code. Finally, with the prerequisites installed, the next step is to clone the project.

# Clone this repository
$ git clone https://github.com/victor-kayan/ecoleta

💥 Run backend

# Change to the server directory
$ cd ecoleta/server

# Install the dependencies packages
$ npm install
# Or...
$ yarn

# Run database migrations
$ npm run knex:migrate
# Or...
$ yarn knex:migrate

# Run database seeds
$ npm run knex:seed
# Or...
$ yarn knex:seed

# Run server in development mode
$ npm run dev
# Or...
$ yarn dev

✳️ Run web application

# Change to the web directory
$ cd ecoleta/web

# Install the dependencies packages
$ npm install
# Or...
$ yarn

# Run website in development mode
$ npm run start
# Or...
$ yarn start

The application will run on port 3000. Access http://localhost:3000.

🌟 Run mobile device application

# Change to the mobile directory
$ cd ecoleta/mobile-app

# Run Metro Bundler
$ expo start
# Or...
$ yarn start

After that, to run the app on your mobile device:

  1. Open the Expo app (Android) or the Camera app (iOS);
  2. Scan the QR code;
  3. It is done!

📝 License

This project is under MIT License. Take a look at LICENSE for details.


Made with ❤️ by Victor Kayan

About

♻️ A waste collection marketplace - platform built at Next Level Week 1 (NLW #01 Booster)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published