# Getting Started

## Prerequisite

```
Node: v16.15.0
Git: 2.30.1
```

## Create a new project

{% hint style="info" %}
**Prerequisite**: NodeJS, Git

**Optional for better development:** Redux Devtool\* (Chrome extension), Prettier\*\* (Editor Extension)

*\* Redux Devtool is optional, but it's very helpful to follow the application's states.*

*\*\* Prettier helps you maintain a consistent code style*
{% endhint %}

To create a new `my-app` project, you can conveniently create one by [create-senhub-app](https://www.npmjs.com/package/create-senhub-app).

```shell
npx create-senhub-app init my-app
```

Or,

```
yarn create senhub-app init my-app
```

Add this moment you can immediately start the project by `yarn start`, but we highly recommend following the next steps to be able to host your Dapp and submit it to the Sentre platform.

## Push the project on Github

Because the platform only supports **Github** currently, you have to host your repo; and your DApp later on; on **Github**.

Choose the **New** button to create a new repository.

![Choose New to create a new repository.](/files/sCHiZwqQPpurdqjTgR3a)

Fill in the repository name, then click **Create repository**.

![Enter the project's name.](/files/uVTqdFI1vuLTppbDQyRs)

After the successful creation, you will see something necessary to connect your local project to the repository.

![Information to connect.](/files/TkuAPmvah7yOSaneGNW9)

Follow the second section in the info with additional commands to connect to the local project. For example:

```
cd ./my-app
git init
git remote add origin git@github.com:tuphan-dn/my-app.git
git branch -M master
git add .
git commit -m "first commit"
git push -u origin master
```

## Start

Now you can start the project:

```shell
yarn start
```


---

# 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.sentre.io/getting-started.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.
