Link Search Menu Expand Document


PA offers a managed hosting service on AWS, for generated databases, APIs and web-apps. The hosting is suitable for rapid prototyping, setting up a quick demo, and for production systems.

When configured to do so, CodeBot will deploy the generated app straight to the cloud as part of its code generation process, making the whole thing very convenient and easy to use.

Essentially, three things are hosted:

  1. MongoDB database (this is stored securely and privately in AWS’ DocumentDB database)
  3. React web-app

The React app is generated as a Single-Page Application (SPA) based on create-react-app. For hosting, CodeBot builds the SPA using AWS CodeBuild, and deploys it to S3 (with reverse-proxying done by CloudFront).


Your hosted API will have a URL along these lines:

username is your username, entirely lower-cased. Similarly, project is your project code, lower-cased.

For example, if your username is “fred” and you’ve published a project called “Hockey Scores” (with a project code “hockey”):

If you’re using the default project (i.e. the one that gets created automatically when you sign up), the URL would be:

The project code can be changed if needed – the Web Console page shows how.

Hosted UI URLs

URLs for hosted UIs follow a similar pattern to hosted APIs:

i.e. it’s identical except for the “ui/” part.

> Next: Hello Codebot project