Coder Social home page Coder Social logo

pank0 / inplace Goto Github PK

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

Project for Mobile Applications and Cloud Computing course

Kotlin 0.12% Swift 1.99% Objective-C 0.04% Dart 41.13% CMake 18.66% C++ 21.45% C 1.42% HTML 1.93% Python 13.25% Procfile 0.02%

inplace's Introduction

inPlace

Project for Mobile Applications and Cloud Computing course: given a set of requirements, we had to build an application that satisfied them all.

This project contains two main folders:

  • inplace/ : here resides the application

  • clustering_server/ : here there is the code used to compute the clusters

Requirements

project_requirements

About inPlace |

what_is_it

architecture

cloud_services

multiple_users

not_distant_users

distant_users

clusters

sensors

inplace/

This is the main application.

The object of the application is to create a geolocalized messaging system where an user can read and write messages that will be available only within a certain range of the position of the user.

In order to make Google Maps work you have to set up your API KEY (See here)

Search for 'YOUR_API_KEY' in files:

-'android/app/src/main/AndroidManifest.xml'

-'web/index.html'

And replace the key

pythonanywhere_server/

This module has to be run on a pythonanywhere.

I uploaded it as a WebApp in the path home/{user_name}/inPlace.

Here the messages in the database are retrieved with their GPS coordinates, then k clusters are computed and their centers are uploaded on firestore.

After this, a rudimental API service is set up in order to give back the clusters to someone who asks.

In order to communicate with the firestore database, replace YOUR_PRIVATE_KEY in the field of "private key" in file models/firebase_inplace_key.json

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.