Skip to content

♻️ Ecoleta is a fictitous company of a technological and effective method for waste collection.

License

Notifications You must be signed in to change notification settings

LeuAlmeida/ecoleta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ecoleta

A technological and effective method for waste collection

♻️ A full stack application developed at Next Level Week promoted by Rocketseat

GitHub language count Made by Léu Almeida

Ecoleta Presentation

Introduction

Ecoleta is a fictitious company and this repository belong to the business logic and is the basis of a general structure.

Ecoleta Presentation

🔌 Prerequisites

🔐 API Instructions

First get all the requirements installed on your system.

Getting started the API Restful backend

Make a clone from the repo and install the dependencies

# After clone this repo, enter in the API folder
$ cd backend

# Install all dependencies using Yarn
$ yarn

# Run the migrations and seeds
$ yarn knex:migrate && yarn knex:seed

# Run the development server
$ yarn dev

# Case the output appears like this, is all ok
yarn run v1.21.1
$ ts-node-dev src/server.ts

# The backend will run on port 3333
# https://localhost:3333

💻 Frontend Instructions

Getting started the web application

# After clone this repo, enter in the Web folder
$ cd web

# Install all dependencies using Yarn
$ yarn

# Run the project
$ yarn start

# IMPORTANT!!!
# Certify yourself that the backend is running on http://localhost:3333

📱 Mobile Instructions

Getting started the mobile application (app)

# After clone this repo, enter in the folder
$ cd mobile

# Install all dependencies using Yarn
$ yarn

# Run using Expo
$ yarn start

# Scan using your device and certify that you are using
# the correct Base URL in the src/services/api.ts file

©️ License

MIT License.

See LICENSE for details.



Your contribution are welcome :)