CushionServer is part 1 of 2 for the CushionDB backend. It is setup as a Docker image and is deployed along with the CushionCouch Docker image using Docker Compose. These two backend components are desgined to work with CushionClient.
CushionServer was built to abstract away the authentication details from CouchDB for user account management. It is also used to facilitate PWA push notifications, which CushionDB uses to automatically sync data across mutliple devices
We reccomend that you head over to CushionBackend and follow the installation steps in that repository as that is the easiest to get the CushionServer and CushionCouch database up and running.
To install outside of a container run npm install cushiondb-server
. Add the app's dev dependencies to your packege-json and install them, and then run npm run dev
which will load the server through webpack's dev server.npm start
is not currently meant to run outside of production.
Head over to CushionCouch to run CushionDB's couchDB docker image. Running CouchDB manually will require changing CouchDB's configurations and is not recommended.
Avshar Kirksall Software Engineer Brooklyn, NY
Jaron Truman Software Engineer Las Vegas, NV
Daniel Rote Software Engineer Seattle, WA