GithubHelp home page GithubHelp logo

goncalo-marques / ecomap Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 7.71 MB

Solution for efficient waste collection and management.

Home Page: https://server-7fzc7ivuwa-ew.a.run.app

HTML 0.50% Svelte 28.21% CSS 0.79% TypeScript 8.23% JavaScript 0.10% Kotlin 11.19% Makefile 0.43% Dockerfile 0.10% Go 49.12% PLpgSQL 1.33%
management mobile waste-collection back-office

ecomap's Issues

Add employee sign in endpoint

  • Create HTTP endpoint to handle sign in:
    • Request body:
      • username
      • password
    • Response body:
      • JWT
  • Compare given password with the one stored in the database using bcrypt

Report problem with a bin

Refs: Figma

Server

  • Store users reports

Android

  • Add user's reports page
  • Add report problem button
  • Add report problem page
    • Add small map to display the bin location
    • Add buttons for selecting the type of problem(s)
      • Full
      • Vandalized
      • Misplaced
      • Non-existent
      • Other
    • Add free form description (optional)
    • Add image/video attachment (optional)
    • Add send button

Add user sign in endpoint

  • Create HTTP endpoint to handle sign in:
    • Request body:
      • username
      • password
    • Response body:
      • JWT
  • Compare given password with the one stored in the database using bcrypt

Define Container HTTP API

Define the following endpoints to manage a container:

HTTP Verb Endpoint Description
POST /containers Create a container
GET /containers List multiple containers
GET /containers/{id} Get a container
PATCH /containers/{id} Modify a container
DELETE /containers/{id} Delete a container

Add login

Refs: Figma

  • Add login page
  • Add registration page
  • Authentication with JWT token

Define User HTTP API

Define the following endpoints to manage a user:

HTTP Verb Endpoint Description
POST /users Create a user
GET /users List multiple users
GET /users/{id} Get a user
PATCH /users/{id} Modify a user
DELETE /users/{id} Delete a user
PUT /users/password Modify a user password
PUT /users/reset-password Reset a user password

Create web app base layout

Create the basic layout of the web app home page. The layout contains the top bar, the side bar, and the content associated with the selected menu.

Refs: Figma

Display user location

Refs: Figma

  • Request GPS permissions
  • Display user location on the map
  • Add button to center map to user location

Nearest bin

Refs: Figma

Add button to select the nearest bin. The nearest bin is determined by the current user position and the selected filters.

Set up cspell

cspell is a command line tool and library for spell checking code.

It's required to set up an action that checks for spelling errors before merging pull requests.

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.