Skip to content
@origreen

origreen

Architecture

Origreen - A green origin!

Try it!!!

URL TO THE PROFILATION: https://origreen.vercel.app/

URL TO THE DETAILS OF A FOOD: https://origreen.vercel.app/food/white_cabbage

You will notice that changing the parameters in the profilation will result in a different score in the details page!

If you want to use the api, follow this link

How was it made

  • A backend with Python and FastAPI
  • A webapp with Vue.js
  • An app with Unity
  • A database with MongoDB

The database model

The database contains two collections:

  • food: all the possible food, with all the information about how and where it grew (the qrcodes contain the id of the db record)
  • profiles: a score is calculated to say if the food is suggested. There can be profilation on this, so some users can be interested in some aspects and other students in other aspects. These weights_ of profilations are stored in this collection

The backend

The backend:

  • Serves the DB data
  • Calculates the score of a food based on the weights
  • Allow to select a predefined weights-profile or to add a custom one

The webapp

  • It allows you to change the weights
  • It shows the in-detail information about a certain food

The app

  • Scans the QRCodes and shows the score with AR
  • When the QRCode is clicked, it takes the user to the webapp to see more information

Architecture

Architecture

The result

In the end, we had a nice presentation in the Hackathon, reaching the 3rd place!!!

Popular repositories Loading

  1. static-assets static-assets Public

    Static assets

    Python

  2. backend backend Public

    The backend of Origreen

    Python

  3. .github .github Public

  4. origreen-webapp origreen-webapp Public

    The webapp of origreen

    Vue

Repositories

Showing 4 of 4 repositories
  • .github Public
    origreen/.github’s past year of commit activity
    0 0 0 0 Updated Jul 4, 2023
  • origreen-webapp Public

    The webapp of origreen

    origreen/origreen-webapp’s past year of commit activity
    Vue 0 MIT 0 0 0 Updated Jun 26, 2022
  • backend Public

    The backend of Origreen

    origreen/backend’s past year of commit activity
    Python 0 MIT 0 0 0 Updated Jun 26, 2022
  • static-assets Public

    Static assets

    origreen/static-assets’s past year of commit activity
    Python 0 MIT 0 0 0 Updated Jun 25, 2022

Top languages

Loading…

Most used topics

Loading…