# Welcome

## What's in this?

This documentation covers the steps to get started with a new project using the CA Stack.

### Stack

|              | Technology                              |
| ------------ | --------------------------------------- |
| **Backend**  | NodeJS                                  |
|              | Postgres                                |
|              | Typescript                              |
|              | NestJS                                  |
|              | GraphQL                                 |
|              | TypeORM                                 |
|              | Docker                                  |
|              | Kubernetes                              |
|              | Bitbucket Pipelines                     |
| **Frontend** | AWS Amplify Hosting & Deployments (Web) |
|              | Bitrise (Mobile)                        |
|              | React/React Native                      |
|              | Typescript                              |
|              | Codegen (Generate TS types from GQL)    |
|              | Urql                                    |
|              | Tailwind                                |
|              | React Hook Forms                        |

## Getting Started

The stack is made up of three components:

* Backend API
* Web App
* Mobile App

The three components are designed to be integrated together, however each will also work on its own. To get started, first set up the Bitbucket repos and infrastructure (Kubernetes, Postgres, Amplify, Bitrise):

{% content-ref url="/pages/-MZHvGCJiQbSLjtG\_yUB" %}
[Backend](/infrastructure/backend.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MZHvJxEkJ32im13iqa-" %}
[Web](/infrastructure/web.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MZHvNwaLIehTPLKth3N" %}
[Mobile](/infrastructure/mobile.md)
{% endcontent-ref %}

Then, clone the 3 repos and push to the repositories. As long as you have the CI/CD pipelines set up correctly, the project will be automatically linted, formatted, tested and deployed.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chelsea-apps.com/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
