Fortjs provides an app generator - "Fort Creator" which helps you with fortjs development.

To Install Fort Creator

npm install fort-creator -g

Create your app

To generate an app, run command

fort-creator new my-new-app

You will see a prompt to choose project language with options -

  1. typescript
  2. javascript

Choose your language and fort-creator will create a project for you.

To run your new app

cd my-new-app
fort-creator start

Now see your app in action by visiting url - localhost:4000

You must want to create something cool or for realtime. Visit these articles and learn more.

Alternatively you can also clone/download starter template -

After downloading the repo - open the console, move to project directory and run the commands -

  • npm install - It will install all the dependency
  • npm run start - It will run the app.