fastn
fastn
can be used for
building dynamic websites as well. With features already built and planned
fastn
aspires to be a full stack framework.If a backend APIs are already available, you can interact with them, and include the API responses and create dynamic web pages. Checkout the http processor about how to do this.
fastn
also has support for endpoint
definitions, which allows frontend code
to communicate with existing APIs without worrying about cross origin policies
and exposing a unified domain. Read about it in the endpoint
guide.fastn
by default generates URLs of your webpages based on the file path, but
you can define dynamic URLs to create beautiful URLs independent of file
organisation, or to create documents that is served when any URLs matching some
pattern is accessed.
When rendering any fastn document
you can use request data processor
to
extract request data like URL, query parameter etc, and use it with your APIs
or queries.
fastn
can be used to query data from sqlite database to generate dynamic
websites.
fastn
can also read data in JSON files that are part of your package to help
you create data visualisation websites.
Get Started with fastn: We provide a step-by-step guide to help you build your first fastn-powered website. You can also install fastn and learn to build UI Components using fastn.
Frontend: fastn is a versatile and user-friendly solution for all your frontend development needs.
Docs: Our docs is the go-to resource for mastering fastn. It provides valuable resources from in-depth explanations to best practices.