Try Bon5R in your browser!  Visit the playground ->

Installation

Written by 
manuanish
 —  5 min read


In this page we will look at how to create a new Bon5R.


📦 Prerequisites

For everything to run smoothly, your system must already have the following dependencies

  • npm
  • yarn

Installing npm

To install npm on your system you can run the following command:

npm install npm@latest -g

Installing yarn 🧶

To install yarn on your system you can run the following command:

npm install --global yarn

  To be able to install yarn, you must have already installed npm on your system.



🛠 Creating your first bon5r

To do this, we can use the create-bon5r-app package.


1. Setting up the project

Run the following command in your terminal:

yarn create bon5r-app my-app && cd my-app

This will automatically setup a new Bon5R in your current directory.


2. Start the server 🚀

To start the development server, we can run the following:

yarn dev

And thats it! 🎉 you can view the website at http://localhost:3000. The website hot-reloads ⚡️ when you change the code so you don't have to constanly refresh.



Installation Demo