Skip to content

Closed: Create an online, network database to save the data for guests registering

Daniel Solash requested to merge 310-online-database-guestRegistration into main

License and Copyright Notice

By submitting this issue or commenting on this issue, or contributing any content to this issue, you certify under the Developer Certificate of Origin that the content you post may be licensed under GPLv3 (for code) or CC-BY-SA 4.0 International (for non-code content).

Branch Name

310-online-database-guestRegistration

Related Issues

#310 (closed)

Description

This merge will allow the storing on a remote mysql database. It uses the retrofit api in order to speak with a java tomcat server.
Server app repo: https://gitlab.com/dsolash/nestapi

This app includes an embedded spring.io tomcat server. The java app can be seperated and ran on a seperate tomcat server if need be.

Working on a backround task to sync with the server whenever the registration activity is opened.

Steps to Test

(List the steps needed to test this merge request here using bullets, for ex:)

  1. Edit server.properties in the server app to point to a mysql server.
  2. Run NestGuestDbApplication
  3. Point the android app to the java server by changing the address in RetrofitHelper.
  4. Register a guest as usual. There will be a toast as you exit the summary fragment if the upload is successful. If not logcat will throw an error saying "Bad add request!"

Relevant Screenshots

(Post any relevant screenshots here.)

Relevant Logs

(Paste any relevant logs here.)

Developer Notes

(List any notes you have about what you did here using bullets, for ex:)

  • Note 1
  • Note 2
  • Note 3
Edited by Daniel Solash

Merge request reports