2024-09-07 10:43:21 +01:00
..
2024-09-07 10:43:21 +01:00
2024-09-07 10:43:21 +01:00
2024-09-07 10:43:21 +01:00
2024-09-07 10:43:21 +01:00

Cookie Auth Example

This example showcases how to use signed cookies for authentication that uses a database for storing sessions.

Getting Started

  1. Install dependencies:

    composer install
    
  2. Start the server:

    composer start
    
  3. Start the database server:

    brew install tursodatabase/tap/turso
    turso dev --port 8001
    
  4. Visit the URL http://localhost:8000 in your browser.