# Portal Development

Are you ready to build your dream portal? Let's get started.

### Run the Project

Run `yarn dev` to spin up the project and navigate to `localhost:3000` in your browser.

{% hint style="warning" %}
Is the normal Sunflower Land game showing? Ensure that you have copied `.env.portal` into `.env`
{% endhint %}

### Boilerplate

The project is currently loading code inside of `PortalApp.tsx`

This app comes preloaded with a basic scene and HUD to demonstrate the foundations. You are able to add, edit & remove code in these files to add the functionality you want.

### What's next?

You can build your portal using whichever web technology your prefer. However, we recommend using existing technologies and patterns in the repository so you don't need to build everything from scratch.

1. [How to Design a Map that players can explore?](https://docs.sunflower-land.com/contributing/portals-ugc/phaser-map-design-and-scenes)
2. [How to load player data and mint arcade tokens?](https://docs.sunflower-land.com/contributing/portals-ugc/portal-apis)
3. [How do I deploy my portal so others can play it?](https://docs.sunflower-land.com/contributing/portals-ugc/deploying)

### Resources

If you are looking to build a portal, it is recommended that you learn the basics of the React framework.

{% embed url="<https://legacy.reactjs.org/tutorial/tutorial.html>" %}

If you are looking to build game mechanics such as Combat, co-op minigames + more advanced functionality, it is recommend you explore the Phaser framework.

{% embed url="<https://phaser.io/>" %}
