Aims to provide a SvelteKit + CardBoard starter with cardboard.js
Step 1> Add cardboard.js
Step 2> Setup .env file like provided one
Step 3> Setup auth file like in auth.ts
Step 4> Add Auth Routes like in (auth)
Step 5> Setup hooks to fetch user data hooks
Step 6 (optional)> If using typescript, configure app.d.ts to handle user data types
Step 7> Make the data available to frontend from backend in the layout file
Step 8> Use the data on pages like on page files
Step 9> Default session expires in 30 days, you can add a logout button too like in app header
Step 10> Enjoy 🤗