Giter Site home page Giter Site logo

mbakgun / iot-android-things-project-backend Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 33 KB

iot/spring project for UltraSonic Sensor Andoid Things Project

License: Apache License 2.0

Java 100.00%
iot spring-boot spring gateway middleware backend firebase maven glassfish rest-api

iot-android-things-project-backend's Introduction

IOT-Android-Things-Project-Backend

iot/spring project for UltraSonic Sensor Andoid Things Project

The middleware between application and Firebase that will be deployed to your Application Server. This project contains the logic that monitors when a new motion log is added on the server. It constructs a push notification to send to registered mobile devices. Also stores the image.

The Spring Boot project requires Maven and Redis, which you can install by following the instructions on https://redis.io/topics/quickstart Installing Redis also installs Maven.

Once you have Maven and Redis installed, configure your Backend by changing Authorization key which taken from Firebase and than simply deploy the any server / container.

You must configure properties which are the following lines.

spring.redis.host=yourRemoteHost
spring.redis.password=yourPasswordIfExist
spring.redis.port=yourRemotePort
spring.redis.database=yourDBIndex
image.url.prefix=yourImageServerAddress
notification.title=New notification from Device

You should then be able to send notification in your backend whenever you're ready. Default environments & configurations set up for Glassfish Server.

  • There is a postman collection for make it easy : )

Sample App

Visit our sample application

Contact me

Any questions:Please feel free to contribute by pull request, issues or feature requests.

License

Copyright 2018 Mehmet Burak Akgün

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

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.