@userappstore/app-store-dashboard-server
v1.0.1
Published
This application server is one half of the software, it is accompanied by an [Application server](https://github.com/userappstore/app-store-application-server). This readme assumes you have configured the application server already.
Downloads
6
Readme
App Store Dashboard Server
This application server is one half of the software, it is accompanied by an Application server. This readme assumes you have configured the application server already.
About
The app store software provides a website where users may code and share single-page applications or import hosted web applications by their server URL. Users who complete a Stripe Connect registration may publish their apps with paid subscriptions.
- App store Wiki
- Compatibility guidelines
- Creating single-page apps
- Creating application servers
- Integrating existing web applications
Case studies
Hastebin
is an open source pastebin web application. It started as a website for anonymous guests only, and was transformed into an application server with support for sharing posts with organizations and paid subscriptions.
Prerequisites
- Stripe account
- Registered Connect platform
- flat file database, or Amazon S3 Redis PostgreSQL
Installation part 1: Dashboard Server
You must install NodeJS 8.12.0+ prior to these steps.
$ mkdir my-app-store
$ cd my-app-store
$ npm int
$ npm install @userappstore/app-store-dashboard-server
$ STRIPE_KEY=abc \
STRIPE_JS=2|3|false \
SUBSCRIPTIONS_ENDPOINT_SECRET=xyz \
APPLICATION_SERVER=http://localhost:3000 \
APPLICATION_SERVER_TOKEN="a shared secret" \
node main.js
# additional parameters using Redis
# STORAGE_ENGINE="@userdashboard/storage-redis"
# REDIS_URL="..."
$ npm install @userdashboard/storage-redis
# additional parameters using Amazon S3 or compatible
# STORAGE_ENGINE="@userdashboard/storage-s3"
# S3_BUCKET_NAME=the_name
# ACCESS_KEY_ID=secret from amazon
# SECRET_ACCESS_KEY=secret from amazon
$ npm install @userdashboard/storage-s3
# additional parameters using PostgreSQL
# STORAGE_ENGINE="@userdashboard/storage-postgresql"
# DATABASE_URL="..."
$ npm install @userdashboard/storage-postgresql
Installation part 2: Application server
Visit the App Store Application Server if you have not completed that part.
Development
Development takes place on Github with releases on NPM.
License
This is free and unencumbered software released into the public domain. The MIT License is provided for countries that have not established a public domain.