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 ftd 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.
Have a question or need help?
Visit our GitHub Q&A discussion to get answers and subscribe to it to stay tuned.
Join our Discord channel and share your thoughts, suggestion, question etc.
Connect with our community!We welcome you to join our Discord community today.
We are trying to create the language for human beings and we do not believe it would be possible without your support. We would love to hear from you.