Documentation | Getting started | API Reference
Fresh is a next generation web framework, built for speed, reliability, and simplicity.
Some stand-out features:
The documentation is available on fresh.deno.dev.
Install the latest Deno CLI version.
You can scaffold a new project by running the Fresh init script. To scaffold a project run the following:
deno run -A -r https://fresh.deno.dev
Then navigate to the newly created project folder:
cd deno-fresh-demo
From within your project folder, start the development server using the
deno task
command:
deno task start
Now open http://localhost:8000 in your browser to view the page. You make changes to the project source code and see them reflected in your browser.
To deploy the project to the live internet, you can use Deno Deploy:
main.ts
file in the root of the created repository.For a more in-depth getting started guide, visit the Getting Started page in the Fresh docs.
We appreciate your help! To contribute, please read our contributing instructions.
If you feel that your project would be helpful to other Fresh users, please consider putting your project on the showcase. However, websites that are just for promotional purposes may not be listed.
To take a screenshot, run the following command.
deno task screenshot [url] [your-app-name]
Then add your site to showcase.json, preferably with source code on GitHub, but not required.
[![Made with Fresh](https://fresh.deno.dev/fresh-badge.svg)](https://fresh.deno.dev)
<a href="https://fresh.deno.dev">
<img
width="197"
height="37"
src="https://fresh.deno.dev/fresh-badge.svg"
alt="Made with Fresh"
/>
</a>
[![Made with Fresh](https://fresh.deno.dev/fresh-badge-dark.svg)](https://fresh.deno.dev)
<a href="https://fresh.deno.dev">
<img
width="197"
height="37"
src="https://fresh.deno.dev/fresh-badge-dark.svg"
alt="Made with Fresh"
/>
</a>
Use the following hashtags in your social media posts that reference Fresh and as Topics in the About section of your GitHub repos that contain Fresh code. It will assure maximum visibility for your posts and code, and promote Fresh development ecosystem visibility.
Github repo Topics will not include the hash symbol.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。