🚀 A map-based social media application 🗺️
This repository contains all code written for the App "Mappit", developed as part of the TUM course IN2140 - Programming Database Web Applications.
Table of Contents
Mappit serves as a social media platform specifically for users of public transportation. To do this, Mappit lets Users create Threads at every location of the Munich Public Transportation System, whether it being about lost items, ticket sharing or just meetups.
One of the key features Mappit provides in that regards it the idea of Thread-Lifetime. Each thread, depending on the tag that is selected for it, gets a fixed amount of lifetime at its creation. When this lifetime goes below 15 minutes, users can choose to refresh it, keeping the thread alive for longer. Using this mechanism, Mappit wants the community themselves to filter relevant posts.
To run the app locally, the following steps have to be taken:
- Pulling the repository
$ git pull https://github.com/guid3d/Mappit.git
- Installing all remaining dependencies
$ yarn
- Starting the app
$ yarn start
The app can then either be run locally on an emulator by pressing "a", while it can also be run on a mobile phone using the app "Expo Go" and scanning the shown QR code.
Caution: The app sadly experiences some performance issues when being run on an android phone. For more context, please refer to the next chapter.
To run the app also efficiently on Android Phones, one has to do the following changes:
In the file
the following lines of code(129-134) have to be commented out:
marker: {
width: 5,
height: 5,
backgroundColor: "blue",
borderRadius: 10,
},
While this is enough to test the apps main functionalities, the app also experiences some more performance and style issues when being run on Android - which is why we still recommend to run the app on iOS if possible to have a smoother experience.