Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use $lib/server instead of $lib for db and auth #12

Open
galaczi opened this issue Dec 2, 2023 · 2 comments
Open

Use $lib/server instead of $lib for db and auth #12

galaczi opened this issue Dec 2, 2023 · 2 comments

Comments

@galaczi
Copy link

galaczi commented Dec 2, 2023

I am new to SvelteKit so I am not entirely familiar with the consequences, but shouldn't the db and auth modules be in $lib/server instead of just $lib?

https://kit.svelte.dev/docs/modules#$lib-$lib-server

The Lucia docs do it that way too:

https://lucia-auth.com/getting-started/sveltekit/

@Bloeckchengrafik
Copy link
Contributor

Seems like a good idea to move them!

@JustinyAhin
Copy link
Collaborator

@galaczi @Bloeckchengrafik do you want to open a PR with that change?

jdoconnor pushed a commit to jdoconnor/kitforstartups that referenced this issue Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants