Coder Social home page Coder Social logo

arcmena / ecoleta Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 2.83 MB

Fullstack APP created at Next Level Week using Typescript, NodeJS, Sequelize-Typescript, ReactJS and React Native with Expo

JavaScript 2.25% TypeScript 81.70% HTML 1.85% CSS 14.20%
typescript sequelize-typescript react react-native expo

ecoleta's Introduction

♻ Ecoleta

A better way to make the world a better place! In progress

GitHub repo size GitHub top language GitHub language count

What is Ecoleta?

Ecoleta is a way to connect people to entities that take care of the collection of specific recyclable residues, like batteries, heavy oils or paper.

The APP was created at Next Level Week #1 hosted by Rocketseat. Originally the backend was made using KnexJS and SQLite, but along the way I decided to change to Sequelize ORM and PostgreSQL for the DB.

Presentation

Getting started

This repository contains the Backend API, Frontend APP and Mobile version. You may have to configure Expo, an android or ios emulator.

git clone https://github.com/arcmena/ecoleta.git

Note: You will need to have PostgreSQL installed on your machine.

Specific database configuration

After installing the dependencies, create a .env.development file in the backend directory with the following structure:

# PostgreSQL Database variables

DB_HOST=        # The DB host address. e.g.: localhost
DB_USER=        # The DB username. e.g.: postgres
DB_PASSWORD=    # The DB passowrd. e.g.: postgres
DB_DATABASE=    # The DB name. e.g.: ecoletadb
DB_PORT=        # The DB port. e.g.: 5432

After that you should be good to start running the API.

Backend

cd backend

#To install the dependencies
yarn install

#To start
yarn start

Note: The server will start running on http://localhost:3300

Frontend

cd frontend

#To install the dependencies
yarn install

#To start
yarn start

Note: The server will start running on http://localhost:3000

Author

ecoleta's People

Contributors

arcmena avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.