jetzig-framework / jetzig.dev

Jetzig website written in Jetzig
3 stars 2 forks source link

add request/session to the docs #6

Open IbrahimOuhamou opened 1 week ago

IbrahimOuhamou commented 1 week ago

assalamo alaykom (assuming one of you is Muslim) I want to thank you for the framework, so thank you <3

I think it should be added to the doc in Request/Sessions

In / you say sessions and cookies out of the box but there is no example for them

bobf commented 1 week ago

Hi, @IbrahimOuhamou , wa alaikum salaam.

This is definitely missing from the documentation - I need to do a big update of the docs to add some of the features that currently aren't covered. For now, take a look at this example in the demo app:

https://github.com/jetzig-framework/jetzig/blob/main/demo/src/app/views/session.zig

Currently no example for Cookies unfortunately, but I will get this covered in the docs ASAP.

IbrahimOuhamou commented 1 week ago

@bobf I didn't even notice the demo (or maybe I just forgot about) for now I think we can just add a 'for more examples you can check the demo in "link"'