Showing posts with label react native. Show all posts
Showing posts with label react native. Show all posts

Sunday, July 5, 2020

My Score Keeper: a simple app to track score of your games


My Score Keeper is a simple app that allows your track score of your games.
You can add multiple Games, each games may have many Match and each match many Rounds. You can add as much Players as you need. Points are recorded so you can take a look at the full historical points list.


A Dice tool and the Countedown Timer are also included. Just tap on the dice to generate a random number, or use the Countdown Timer to time your Round. The free Backup and Restore cloud agent allows your data to be upload on a temporary cloud space you can use to restore to another device just in case. My Score Keeper is Open Source, and it's built using React Native.
You can find the app on the Google Play Store. It's not published yet on the Apple Store, but it works with iOS too.
The app reley on the Realm database.
The first app screen is the Game one, all the Games are listed here. User can create a new math or select one listed. Long tapping on the game enters the edit/delete mode.
Inside the Game screen, user can add Match. When a Match is selected, Players needs to be added. Players of course can be removed or added whenever the user wants. When a new Round is added the user can select which are the Players that play that round.


During the Round points can be added or substracted to each Players.
A couple of tools can be enabled on the Round screen.
A Dice, that select a random number between an interval and a Countdown Timer.
Database can be backupped on a cloud service that is hosted free on Firebase. The web folder contains the code of the backup server.
Backup are rotated, this way the server space does not fill up.


Code

Notes
  • read risk disclaimer
  • excuse my bad english


Monday, June 1, 2020

AppDressBook: Address Book app that synchronizes contacts using a custom API server


AppDressBook is an Address Book app that synchronizes contacts using a custom API server.
It is useful for companies or associations that's want to share contacts using a unique application.
They just have to build their own server that provides the contact list and eventually an authentication method, then the server url can be shared with people engaged and used in this app.


AppDressBook is Open Source and it's built using React Native.
It works both on Android and iOS. Although it's not yet published on Apple Store. You can find the Android app here at the Google Play Store.
The backend server itself it's pretty simple, in the Docs folder you can find all the json schemas for the routes you have to serve.
Ther's a simple test server written in node.js published with the application code, you can find it in the appdressbookapisample folder. I've implemented a C# server for my company. Building the API server is really a simple job. Contacts can be secured by username and password validation. Contacts can of course be synced according to the logged in user. You can even chose to deploy your contacts without authentication.



When the application is executed for the first time, the API server must be filled. Then that server is beeing asked for settings. If authentication is required user has to authenticate, if not contacts can be synced instantly.
Contacts list is cheked against the server each 10 minutes, using the hash of the list, this is to prevent bandwith consumption.
The application itself is simple, and customizable for your needs.


Code

Notes
  • read risk disclaimer
  • excuse my bad english