Skip to content

yann1ckv/uiheaven

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt text

Melding.Amsterdam

One-page mobile website project using Node.js, Postgresql and Pug/Jade. The website is meant for people who receive unwanted advertisement leaflets in their mailbox and want to report this to the municipality (Gemeente Amsterdam). The app uses WebRTC in order to gain access to the users' camera.

Site

Once a user gets to the landing page he/she gets asked for permission to turn on the camera (on mobile). The button/arrow at the bottom will take the user down the page to the camera view. Taking a photo will take the user down to a view where the photo that was taken is displayed and a form to fill out. If the user is not happy with the photo, he/she can retake the photo by clicking the "Opnieuw" button, which will take him/her back up the page to the camera view.

alt text

Database

Once a user filled out the form, the data gets stored in a PostgreSQL database so that the data + photo is available to whomever might need the data (in this case Gemeente Amsterdam)

alt text

Built with

  • jQuery - Ajax - jQuery simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.
  • Pug/Jade - Pug is a high-performance template engine heavily influenced by Haml and implemented with JavaScript for Node.js and browsers.
  • Node.js - Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
  • PostgreSQL - PostgreSQL is a powerful, open source object-relational database system.
  • WebRTC - WebRTC is a free, open project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs.

To-do

  • Create an easy-to-use dashboard in which the data is organised so that the Gemeente can get some good insights into in which areas they might need to take action

License

You can check out the full license here

This project is licensed under the terms of the MIT license.

Releases

No releases published

Packages

No packages published