issues
search
tursodatabase
/
turso-docs
Turso reference documentation
https://docs.turso.tech
MIT License
11
stars
47
forks
source link
Update SvelteKit guide to use framework conventions
#171
Closed
kaleabmelkie
closed
5 months ago
kaleabmelkie
commented
5 months ago
Use the SvelteKit way of importing env vars
Store the client export in the more conventional src/lib directory
Use a working 'load' function as the client usage example
Use .server.ts files to guarantee only server side usage (in order to not accidentally leak the authToken to any front-end)