Clone the divide-server-sample repository via git by running the following in your command line:
git clone https://github.com/HiddenStage/divide-server-sample.git
Change the package name (and corresponding directory names) from
io.divide.server.sample to your own package name.
Change the encryption key to something secure. We recommend using a random password generator.
Now you need to create your App Engine instance.
Make a note of the project ID, since you'll need it in the next step.
Return to your local project. In
src/main/webapp/WEB-INF/appengine-web.xml, put your project ID from Step 4 in the
application tag. (Replace
src/main/webapp/WEB-INF/web.xml, put your parent class in the
param-value tag. (Replace
mvn clean install to build the project and download all necessary library files.
Go to the root directory and run
mvn appengine:update to upload your project to App Engine. You may be asked to login to your Google account in this step
Congrats! Your backend is now up and running.
Your production URL is
Note: App Engine supports SSL natively, so make sure you prefix your URL with
https:// for added security.