An open API service indexing awesome lists of open source software.

https://github.com/nelsonwenner/ecoleta

:recycle: A technological method for trash collection
https://github.com/nelsonwenner/ecoleta

api backend css frontend javascript knex nodejs reactjs rest-api typescript

Last synced: 3 months ago
JSON representation

:recycle: A technological method for trash collection

Awesome Lists containing this project

README

          


Ecoleta

A technological method for trash collection


A application developed at Next Level Week promoted by Rocketseat


GitHub language count


Made by @nelsonwenner

License


Stargazers



## :rocket: Technologies

* [ReactJS](https://reactjs.org/)
* [Node](https://nodejs.org/en/)
* [Knex](http://knexjs.org/)

## :electric_plug: Prerequisites

- [Node.js LTS (>= 12.x)](https://nodejs.org/)

## :information_source: Getting Started

1. Fork this repository and clone it on your machine.
2. Change the directory to `ecoleta` where you cloned it.

## :closed_lock_with_key: Getting started the API Restful backend

```shell
/* After clone this repo, enter in the API folder */
$ cd backend

/* Create `.env` of the system */
$ cp .env.example .env

/* Install dependencies */
$ npm install

/* Run the migrations and seeds */
$ npm run knex:migrate && npm run knex:seed

/* Run the development server /*
$ npm run dev
```
* Open backend, the host [localhost:3333](http://localhost:3333)

## :computer: Getting started the web application

```shell
/* After clone this repo, enter in the Web folder */
$ cd frontend

/* Create `.env` of the system */
$ cp .env.example .env

/* Install dependencies */
$ npm install

# Run the project
$ npm start
```
* Certify yourself that the backend is running on [localhost:3333](http://localhost:3333), Open frontend, the host [localhost:3000](http://localhost:3000)

## :memo: License
This project is under the MIT license. See the [LICENSE](LICENSE.md) for more information.

---