Fortjs provides an app generator - "Fort Creator" which helps you with fortjs development.
To Install Fort Creator
npm install fort-creator -g
To generate an app, run command
fort-creator new my-new-app
You will see a prompt to choose project language with options -
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 -
Typescript - https://github.com/ujjwalguptaofficial/fortjs-typescript-starter
Javascript - https://github.com/ujjwalguptaofficial/fortjs-javascript-starter
After downloading the repo - open the console, move to project directory and run the commands -
npm install
- It will install all the dependencynpm run start
- It will run the app.