This repository was archived by the owner on Jun 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +26
-13
lines changed Expand file tree Collapse file tree 3 files changed +26
-13
lines changed Original file line number Diff line number Diff line change
1
+ # URL to sb file
2
+ DATABASE_URL = file:./dev.db
3
+
4
+ # Secret to use for JWT signing, generate this yourself
5
+ AUTH_SECRET = " "
6
+
7
+ # Google OAuth details for login
8
+ GOOGLE_ID = " "
9
+ GOOGLE_SECRET = " "
10
+
11
+ # Spotify credentials for album search
12
+ SPOTIFY_CLIENT_ID = " "
13
+ SPOTIFY_CLIENT_SECRET = " "
Original file line number Diff line number Diff line change 1
- # create-svelte
1
+ # Sprintna.me
2
2
3
3
Everything you need to build a Svelte project, powered by [ ` create-svelte ` ] ( https://github.com/sveltejs/kit/tree/master/packages/create-svelte ) .
4
4
5
- ## Creating a project
5
+ ## Setup
6
6
7
- If you're seeing this, you've probably already done this step. Congrats!
7
+ 1 . Create a ` .env ` (you can use ` cp .env.example .env ` and fill in the blanks).
8
+ 2 . Setup DB: ` npx prisma migrate reset `
9
+ 3 . Get Google OAuth credentials and set the callback URL to ` http://localhost:5173/auth/callback/google `
10
+ 4 . Get Spotify developer credentials, set callback to ` http://localhost:5173 `
11
+ 5 . ` npm run dev `
8
12
9
- ``` bash
10
- # create a new project in the current directory
11
- npm create svelte@latest
12
-
13
- # create a new project in my-app
14
- npm create svelte@latest my-app
15
- ```
13
+ _ If you see a connection error, run ` npm run prisma:generate ` to regenerate_
16
14
17
15
## Developing
18
16
Original file line number Diff line number Diff line change 19
19
20
20
<Modal id ="invite-team-modal" buttonVariant ="success" bind:this ={modal }>
21
21
<svelte:fragment slot =" modal" let:toggle >
22
- <h3 class =" text-lg font-bold mb-2" >Share this link to invite!</h3 >
23
- <TextInput value ={link } disabled />
24
- <Button on:click ={copy }>Copy</Button >
22
+ <div class =" space-y-2" >
23
+ <h3 class =" text-lg font-bold" >Share this link to invite!</h3 >
24
+ <TextInput value ={link } disabled />
25
+ <Button on:click ={copy }>Copy</Button >
26
+ </div >
25
27
</svelte:fragment >
26
28
</Modal >
You can’t perform that action at this time.
0 commit comments