Writing First fastn app

Jahanvi RaychaJahanvi Raycha
1 min read

To install the fastn, follow the steps.

Follow getting started with fastn and install the template.

Now delete everything from the index.ftd and FASTN.ftd file

Ok, now we will write FASTN.ftd file first,

-- import: fastn
-- fastn.package: expander

Now we will need to write our index.ftd file, it is just like index.html -- entry point of the website

-- ftd.text: Hello world

And that's it. Now to server the website type on the console,

fastn serve

and you get your site running on 127.0.0.1:8000

To learn more about fastn visit fastn.com

To make cool open-source contributions, visit fastn GitHub repository.

If you need any help Find me here.

1
Subscribe to my newsletter

Read articles from Jahanvi Raycha directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Jahanvi Raycha
Jahanvi Raycha