/NLW1.0

NextLevelWeek 1.0 Rocketseat

Primary LanguageTypeScript

Ecoleta

Ecoleta is an App to promote World Environment Day, where it is possible to connect drop off locations of recyclable and disposable items (oils, batteries, ...) to the population.

Used technologies

  • NodeJS backend
  • ReactJS frontend
  • React-Native mobile

How To Use

To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/lucasagra/NLW1.0.git

# Go into the repository
$ cd NLW1.0

Backend API

# Go into server folder
cd server

# Install dependencies
npm install

# Create database
npm run knex:migrate

# Populate database
npm run knex:seed

# Start server
npm run dev

Frontend

# Go into web folder
cd web

# Install dependencies
npm install

# Start react
npm start

Mobile

Running with Expo

  • First download Expo app to your mobile (iOS or Android)
# Install expo on your machine
npm install -g expo-cli

# Go into mobile folder
cd mobile

# Run application
expo start

# Scan QR Code from your Phone

Credits to

Rocketseat for developing this project during the first Next Level Week workshop.