Giter VIP home page Giter VIP logo

dawnn_server's Introduction

android build

Table of Contents

About

This is the back-end code of the Dawnn project. Using Spring, Firebase and MongoDB, this server is able to recieve, store, and send images to clients (along with alerts) based on their reported geolocation.

Inspiration

This project is inspired by the events in Belarus following the August 2020 election. It strives to support the democratic resistance movement by providing an easy-to-use application that can help peaceful protesters stay aware of potential threats.

This repository is for the server, and the client is available at dawnn-team/dawnn_client. All components of this project are open source, and contributions are encouraged. More information can be found at our offical website.

For developers

Getting started

To get started, clone this repository. You need Maven to resolve dependencies, and version 15 of the JDK.

Usage

To use this project properly, you need a Firebase project. Information regarding this can be found here. Without Firebase credentials on either the server side or client side, your local ecosystem cannot support notifications.

Contributing

In order to contribute, check out our projects. Choose a goal, and then an issue/feature/bug to work on. Please follow our contribution guidelines.

dawnn_server's People

Contributors

mhmyesman avatar zacharymnp avatar

Stargazers

 avatar  avatar

Watchers

 avatar

dawnn_server's Issues

No README.

We need a README so people know what this project is about.

[FEATURE] FCM Notifications

Is your feature request related to a problem? Please describe.
In order to fulfill this project's goals, we need to add Firebase Cloud Messaging notifications. This will enable users to receive information in real time, heightening the security our app provides.

Describe the solution you'd like
FCM logic gets triggered whenever an image is uploaded, and valid devices (last position update within X minutes/hours) get a notification.

Describe alternatives you've considered
Supabase isn't an option because it doesn't have notifications. Google's Firebase is just our best option because the service is free in our use-case.

[BUG] Requesting images doesn't return expected data.

Describe the bug
When requesting images from the server, the server does not properly query the database to request images relating to the provided location by the client.

To Reproduce

  1. Call requestImages() from client.
  2. Wait for reply.
  3. See the reply is empty.

Expected behavior
The server should respond with images relevant to the provided location.

Desktop:

  • OS: Windows 10
  • Server Version: N/A - No releases, not versioned yet.

Smartphone:

  • Device: Pixel 3a Emulator
  • OS: Android 9, API 28
  • App Version: N/A - No releases, not versioned yet.

[FEATURE] Move to dev.dawnn.org for staging.

Is your feature request related to a problem? Please describe.
We should use dev.dawnn.org instead of api.dawnn.org for testing, and leave the latter for production.

Describe the solution you'd like
Fix it.

Describe alternatives you've considered
None.

Additional context
None.

[BUG] Commas in user captions are displayed incorrectly.

Describe the bug
Commas are displayed incorrectly when viewing user captions on iPhone. Considering the fact that iOS supports commas, I am guessing this is an issue of writing/reading from MongoDB.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Map page
  2. Click on any marker that has a comma in its caption.

Expected behavior
I should be able to see commas instead of unicode/whatever characters.

Screenshots
foto_no_exif jpg

Smartphone:

  • Device: iPhone SE 2020
  • OS: 14.6
  • App Version: 1.1.0+0

Additional context
Nope.

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.