Code Monkey home page Code Monkey logo

eco-app's Introduction

eco-app

Web application where you can find places that collect certain types of biodegradable wastes. The website was developed using react and can be accessed at hopeful-bohr-b7bfdd.netlify.app.

The back-end of the application was developed routing with express and a relational database using knex with sqlite3. The application also used multer to save image files and celebrate to validate data and is available at merligus-eco-app.herokuapp.com. The REST API was able to list all the biodegradable wastes (GET /items), create a new point of collection (POST /points), get all the points of collection (GET /points?city=c&uf=uf&items=i1,i2,...), and get a point of collection by the id (GET /points/:id).

To install the project you must:

  1. Clone the repository
    git clone https://github.com/Merligus/eco-app.git
    cd eco-app/
  2. Server
    cd server/
    1. Install dependencies
      npm install
    2. Run the server
      1. As a developer
        npm run dev
      2. As an user
        npm run start
    3. Access the server in your browser at localhost:3000
  3. Web
    cd ../web/
    1. Install dependencies
      npm install
    2. Run the web
      npm run start
    3. Access the web in your browser at localhost:3001

eco-app's People

Contributors

merligus avatar

Watchers

 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.