Skip to content

HitFox/cordova_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cordova Test App

This is a simple Cordova test app together with a simple NodeJS server. You can take a picture in the app and it gets synchronized via the server and all connected devices.

Environments

It works on iOS, Android and the browser. If you run it in the emulator, you can use the hardware camera from your laptop on android. The camera is also working in the browser.

Client

The standard cordova development environment, packed with some frontend development tools to use SASS and JADE. Have a look in the package.json to the tools and the scripts that you can run.

Get it up and running

  1. Make sure you install Cordova according to there docs and have android and iOS up and running.
  2. cordova prepare
  3. cordova emulate browser
  4. cordova emulate android
  5. cordova emulate ios

Unfortunately you need to run every command separately for every platform. Make your live easier and run in separate shells instances ;)

Server

Simple NodeJS server to provide an endpoint for the client. It uses Socket.io to synchronize the clients and as communication channel between client and server. Also the server saves the uploaded images extracted from a base64 string.

About

simple cordova app with node server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published