> For the complete documentation index, see [llms.txt](https://nearbyexample.gitbook.io/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nearbyexample.gitbook.io/home/readme.md).

# Developer Platform

Welcome to your team’s developer platform

<h2 align="center">Learn NEAR Smart Contracts</h2>

<p align="center">Run code in your browser. Deploy to TestNet in one click.</p>

<p align="center"><a href="https://near.peersurf.xyz/" class="button primary">Contact Team</a> <a href="https://near.peersurf.xyz/examples" class="button secondary" data-icon="rocket-launch">Play Ground </a></p>

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><h4><i class="fa-vscode" style="color:$primary;">:vscode:</i></h4></td><td><h4>60+ Examples</h4></td><td>Write, edit, and run NEAR smart contracts directly in your browser.</td><td><a href="https://nearbyexample.gitbook.io/home/documentation/">Documentation</a></td><td><a href="https://849544172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiQ0o0N2E3Q6m0ftb06HN%2Fuploads%2Ff01hGF7WVZegtLZzhWUC%2F1a.png?alt=media&amp;token=e0c34e24-0ef5-4b2b-91d3-6860c7a41d2d">1a.png</a></td></tr><tr><td><h4><i class="fa-head-side-gear" style="color:$primary;">:head-side-gear:</i></h4></td><td><h4>AI Assistant</h4></td><td>Get instant explanations, bug fixes, and code suggestions.</td><td><a href="https://nearbyexample.gitbook.io/home/documentation/">Documentation</a></td><td><a href="https://content.gitbook.com/content/iQ0o0N2E3Q6m0ftb06HN/blobs/EyZReFPX7y0IbhUZIbgY/hosted.jpg">hosted.jpg</a></td></tr><tr><td><h4><i class="fa-gauge-low" style="color:$primary;">:gauge-low:</i></h4></td><td><h4>One-Click Deploy</h4></td><td>Deploy your contracts to NEAR TestNet with a single click.</td><td><a href="broken://spaces/GXJk7oqAq4c46Tul3hrQ">Broken link</a></td><td><a href="https://849544172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiQ0o0N2E3Q6m0ftb06HN%2Fuploads%2Fh4PcJi1OSWSIq0AkenLI%2F74d471c34ac20c468c46c78c88d125a6.jpg?alt=media&amp;token=9162adb8-f0e2-4922-bbeb-4de919d9aa42">74d471c34ac20c468c46c78c88d125a6.jpg</a></td></tr></tbody></table>

{% columns %}
{% column %}

### Get started in 5 minutes

Setting up your first contract should be the easiest part of getting started. With clear instructions, copy-paste-ready examples, and quick deployment, you’ll be up and running in minutes—not hours.

No guesswork, no complexity—just your first successful call, fast.

<a href="/home/readme.md" class="button primary" data-icon="rocket-launch">Get started</a>&#x20;
{% endcolumn %}

{% column %}
{% code title="index.js" overflow="wrap" %}

```javascript
import { NearBindgen, view } from "near-sdk-js";

@NearBindgen({})
class Contract {
  constructor({ greeting } = { greeting: "hello" }) {
    this.greeting = greeting;
  }

  @view({})
  get_greeting() {
    return this.greeting;
  }
```

{% endcode %}
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}

<figure><img src="https://849544172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiQ0o0N2E3Q6m0ftb06HN%2Fuploads%2FwMMh9WlVbyPgNYSyMGmk%2F1.png?alt=media&amp;token=76d444a4-32b3-45e7-890f-abf79c3f9788" alt=""><figcaption><p>Examples Playground</p></figcaption></figure>
{% endcolumn %}

{% column %}

### Learn more about the platform

Read guides, watch tutorials, and learn more about working with the developer platform and deploying your custom smart contract with it.

<a href="https://www.youtube.com/watch?v=3f7OToCTpQ0" class="button primary" data-icon="book-open">Guides</a>&#x20;
{% endcolumn %}
{% endcolumns %}

<h2 align="center">Join a community of developers</h2>

<p align="center">Join our Discord community and follow us in X, in just a few steps.</p>

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td><h4><i class="fa-discord">:discord:</i></h4></td><td><strong>Discord community</strong></td><td>Join our Discord community to post questions, get help, and share resources with like-minded developers.</td><td><a href="https://discord.gg/vY7tRngv" class="button secondary">Join Discord</a></td><td><a href="https://849544172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiQ0o0N2E3Q6m0ftb06HN%2Fuploads%2FkAtTiSSyQu3jV48BIHuS%2Fimage.jpg?alt=media&amp;token=b0f2360b-57b9-42bf-9607-e4a54164e757">image.jpg</a></td></tr><tr><td><h4><i class="fa-github">:github:</i></h4></td><td><strong>GitHub</strong></td><td>Our product is 100% open source and built by developers just like you. Head to our GitHub repository to learn how to submit your first PR.</td><td><a href="https://github.com/Learn-Near-AI" class="button secondary">Submit a PR</a></td><td><a href="https://849544172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiQ0o0N2E3Q6m0ftb06HN%2Fuploads%2Fg7hgdoCP8TcMd9zxoGmh%2Faaf30d5685b74740072813c85710658b.jpg?alt=media&amp;token=5731f3fb-3af7-40eb-a7f6-2b760791e107">aaf30d5685b74740072813c85710658b.jpg</a></td></tr></tbody></table>
