https://github.com/nativescript/nativescript-app-sync-server
https://github.com/nativescript/nativescript-app-sync-server
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/nativescript/nativescript-app-sync-server
- Owner: NativeScript
- License: mit
- Created: 2019-05-09T07:54:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T09:29:54.000Z (over 2 years ago)
- Last Synced: 2024-10-29T15:51:52.402Z (about 1 year ago)
- Language: JavaScript
- Size: 763 KB
- Stars: 22
- Watchers: 8
- Forks: 14
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# AppSync Server [source](https://github.com/EddyVerbruggen/nativescript-app-sync-server)
## What's this then?
This AppSync server is similar to Microsoft's CodePush server, but tailored for NativeScript apps,
working seamlessly with the [NativeScript AppSync plugin](https://github.com/EddyVerbruggen/nativescript-app-sync).
Huge thanks to [this project](https://github.com/lisong/code-push-server) which this project is based upon.
We didn't fork it because significant (non-unforkeable) changes had to be made (replacing hardcoded Chinese text by English comes to mind).
You can either roll your own clone of this server or use [the shared service we provide](https://appsync-server.nativescript.org/) (which is configured by default by the [NativeScript AppSync plugin](https://github.com/EddyVerbruggen/nativescript-app-sync)).
## Support Storage mode
- local *storage bundle file in local machine*
- qiniu *storage bundle file in [qiniu](http://www.qiniu.com/)*
- s3 *storage bundle file in [aws](https://aws.amazon.com/)*
- oss *storage bundle file in [aliyun](https://www.aliyun.com/product/oss)*
- tencentcloud *storage bundle file in [tencentcloud](https://cloud.tencent.com/product/cos)*
### Shell login
With the [NativeScript AppSync CLI]() installed (`npm i -g nativescript-app-sync-cli`), you can do:
```shell
$ nativescript-app-sync login
$ nativescript-app-sync login https://your-own-server-endpoint.com
```
### Web interface
[appsync-server.nativescript.org](https://appsync-server.nativescript.org/)
## HOW TO INSTALL nativescript-app-sync-server
- [Installation manual](https://github.com/EddyVerbruggen/nativescript-app-sync-server/blob/master/docs/README.md)
## DEFAULT ACCOUNT AND PASSWORD
- account: `admin`
- password: `123456`
## Making changes to this server
Go ahead and roll your own, but if you want to change the production code, push to `master`
and Heroku will deploy a new version automatically.
To check the production logs (requires the right credentials 😉):
```shell
heroku logs --app nativescript-codepush-server --tail
```