Skip to content

StoreConnect/storeconnect-timesync-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

server date library

Provides remote server date synchronisation for a client app.

Requirements

When checking out the project repo remember about git submodules. Pull them by running the following command in the project's main directory:

git submodule update --init --recursive

Testing

To launch unit test of the project one need to run a server that returns a json like:

{
	time_now: "2018-06-04T11:19:31.241Z",
	time_now_millis: 1528111171241
}

The sample server code in node.js doing this job is attached to this repository inside the node_server_date directory. To run the server node.js (https://nodejs.org/) must be installed on the machine. After it is installed one has to open the node_server_date dir in the terminal and run:

  1. npm install
  2. node server.js

Server can be tested in the browser at http://localhost:3000/time_now

Android wrapper

Android wrapper is inside android_wrapper directory as an Android Studio 3.1.2 project. Go to this directory to see a separate readme for that project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published