Commit Graph
25 Commits
Author SHA1 Message Date
Reed von Redwitz 86dcfcc0ca docs: add "Handling complex routes" example (#1365) 2023-06-28 12:55:03 +00:00
Reed von Redwitz ee3e4a1145 docs: add "Creating a CRUD API" example (#1361)
closes https://github.com/denoland/fresh/issues/768
supersedes https://github.com/denoland/fresh/pull/853

I'm not sure if this is what Ryan had in mind when opened 768. But this
PR includes some working code, references Deno KV, and briefly touches
on `OPTIONS` as a bonus.

Should I link to https://deno.com/blog/build-crud-api-oak-denokv where I
borrowed some code from? I must admit I'm a bit confused about why Andy
chose to write about Oak instead of Fresh in this post...
2023-06-27 09:18:49 +02:00
Reed von Redwitz 0c187c145a docs: add "Dealing with CORS" example (#1347) 2023-06-24 11:10:12 +00:00
Lino Le VanandLuca Casonato 83925cc1e3 docs(examples): Using twind v1 + fix md code syntax highlighting (#1271)
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2023-06-17 19:16:12 +02:00
Reed von Redwitz 7deda2a7dd docs: add "Using Fresh canary version" example (#1306) 2023-06-16 17:13:16 +02:00
Reed von RedwitzandAsher Gomez 12fc103daa docs: add "initializing the server" example (#1292)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-06-16 10:33:54 +02:00
Reed von RedwitzandAsher Gomez 673ed2d90f docs: add "Changing the source directory" example (#1286)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-06-15 11:37:41 +02:00
Reed von Redwitz f833c7262d docs: add "Server configuration" concept explanation (#1293) 2023-06-15 11:37:23 +02:00
Asher Gomez adc16c5c29 docs: fix "Writing Tests" example title typo (#1288)
To align the casing with the rest of the documentation titles.
2023-06-14 14:57:37 +02:00
Octo8080XandAsher Gomez ac32c2deb6 docs: add "Writing Tests" example (#1223)
Fixes [#1222](https://github.com/denoland/fresh/issues/1222)


Add example implementation and documentation of test code using
`createHandler()` newly added by
[#622](https://github.com/denoland/fresh/pull/622)

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-06-13 07:37:12 +10:00
Reed von Redwitz 931031f9ce docs: add "setting the language" example (#1265) 2023-06-11 02:38:25 +09:00
Luca Casonato 96be590a90 docs: improve examples and fix app wrapper (#1244) 2023-06-03 22:20:18 +02:00
DanielXing1103andAsher Gomez 009b31f922 docs: add "Modifying the Head Element" example (#1226)
resolves #1215 by adding example on modifying ``` <Head />``` on
index.md

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-06-03 09:56:00 +10:00
ff9bb0f132 re-org Form docs (#1104)
- added `/concepts/forms`
- added 303 redirect in `POST` form submit code example

previous PR: https://github.com/denoland/fresh/pull/1040

---------

Co-authored-by: Matthew Morek <matthew.morek@gmail.com>
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
Co-authored-by: Séverin Dupouy <32488190+severindupouy@users.noreply.github.com>
Co-authored-by: hashrock <hashrock@users.noreply.github.com>
2023-04-11 09:56:55 -07:00
harrel56 54259ee9ee docs: create docs for _app.tsx (#494) 2023-03-08 03:24:21 +09:00
Luca Casonatoandhashrock 3355ea9fe5 docs: add page showcasing fresh charts (#839)
Co-authored-by: hashrock <hashrock@users.noreply.github.com>
2022-11-17 15:13:39 +09:00
Kazuma Ohashi 7e04c69be2 fix: typo (#397) 2022-11-09 18:38:58 +09:00
Luca Casonato a08f12a647 docs: add plugins to TOC (#723) 2022-09-08 13:34:05 +00:00
Luca Casonato 560f1eec20 docs: add "Concepts: Updating" page 2022-09-08 11:53:38 +02:00
Luca CasonatoandLino Le Van 0cc3cc7762 docs: add "Deployment" concepts page (#680)
Add docs for deploying using Docker (in addition to Deno Deploy).

Co-authored-by: Lino Le Van <11367844+lino-levan@users.noreply.github.com>
2022-08-31 13:24:36 +02:00
Luca Casonato 989e1775a0 docs: fix formatting 2022-06-28 16:15:24 +02:00
Luca Casonato b69ba3b718 docs: remove styling page 2022-06-28 16:14:10 +02:00
Luca Casonato 8488bf6373 docs: remove route handlers page 2022-06-28 16:06:15 +02:00
Luca Casonato 836cc24bdd feat: remove fresh cli, do manifest generation in process (#223)
This commit removes the `fresh` cli, replacing it with a small bootstrap script,
and JIT generation of the manifest that happens in process during development.
2022-06-14 09:39:38 +02:00
Luca Casonato 73fd41be31 feat: add docs section to website (#108) 2022-03-07 21:08:55 +01:00