File tree 14 files changed +2315
-1
lines changed
14 files changed +2315
-1
lines changed Original file line number Diff line number Diff line change
1
+ PUBLIC_APPWRITE_ENDPOINT = https://cloud.appwrite.io/v1
2
+ PUBLIC_APPWRITE_PROJECT_ID = my-project-id
3
+ PUBLIC_APPWRITE_PROJECT_NAME = " My project name"
4
+ PUBLIC_APPWRITE_VERSION = 1.6.0
Original file line number Diff line number Diff line change
1
+ .DS_Store
2
+ .envrc
3
+ .vscode
4
+ node_modules
5
+ /build
6
+ /.svelte-kit
7
+ /package
8
+ .env
9
+ .env. *
10
+ ! .env.example
11
+ test-results /
12
+ playwright-report /
13
+
14
+ .DS_STORE
15
+ .cache
16
+ .temp
17
+ node_modules /
18
+ dist /
19
+ .vercel
20
+
21
+ * .swp
22
+ # ## Node ###
23
+ # Logs
24
+ logs
25
+ * .log
26
+ npm-debug.log *
27
+ yarn-debug.log *
28
+ yarn-error.log *
29
+ lerna-debug.log *
30
+ .pnpm-debug.log *
31
+
32
+ # Diagnostic reports (https://nodejs.org/api/report.html)
33
+ report. [0-9 ]* . [0-9 ]* . [0-9 ]* . [0-9 ]* .json
34
+
35
+ # Runtime data
36
+ pids
37
+ * .pid
38
+ * .seed
39
+ * .pid.lock
40
+
41
+ # Directory for instrumented libs generated by jscoverage/JSCover
42
+ lib-cov
43
+
44
+ # Coverage directory used by tools like istanbul
45
+ coverage
46
+ * .lcov
47
+
48
+ # nyc test coverage
49
+ .nyc_output
50
+
51
+ # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
52
+ .grunt
53
+
54
+ # Bower dependency directory (https://bower.io/)
55
+ bower_components
56
+
57
+ # node-waf configuration
58
+ .lock-wscript
59
+
60
+ # Compiled binary addons (https://nodejs.org/api/addons.html)
61
+ build /Release
62
+
63
+ # Dependency directories
64
+ node_modules /
65
+ jspm_packages /
66
+
67
+ # Snowpack dependency directory (https://snowpack.dev/)
68
+ web_modules /
69
+
70
+ # TypeScript cache
71
+ * .tsbuildinfo
72
+
73
+ # Optional npm cache directory
74
+ .npm
75
+
76
+ # Optional eslint cache
77
+ .eslintcache
78
+
79
+ # Microbundle cache
80
+ .rpt2_cache /
81
+ .rts2_cache_cjs /
82
+ .rts2_cache_es /
83
+ .rts2_cache_umd /
84
+
85
+ # Optional REPL history
86
+ .node_repl_history
87
+
88
+ # Output of 'npm pack'
89
+ * .tgz
90
+
91
+ # Yarn Integrity file
92
+ .yarn-integrity
93
+
94
+ # dotenv environment variables file
95
+ .env
96
+ .env.test
97
+ .env.production
98
+
99
+ # parcel-bundler cache (https://parceljs.org/)
100
+ .cache
101
+ .parcel-cache
102
+
103
+ # Next.js build output
104
+ .next
105
+ out
106
+
107
+ # Nuxt.js build / generate output
108
+ .nuxt
109
+ dist
110
+
111
+ # Gatsby files
112
+ .cache /
113
+ # Comment in the public line in if your project uses Gatsby and not Next.js
114
+ # https://nextjs.org/blog/next-9-1#public-directory-support
115
+ # public
116
+
117
+ # vuepress build output
118
+ .vuepress /dist
119
+
120
+ # Serverless directories
121
+ .serverless /
122
+
123
+ # FuseBox cache
124
+ .fusebox /
125
+
126
+ # DynamoDB Local files
127
+ .dynamodb /
128
+
129
+ # TernJS port file
130
+ .tern-port
131
+
132
+ # Stores VSCode versions used for testing VSCode extensions
133
+ .vscode-test
134
+
135
+ # yarn v2
136
+ .yarn /cache
137
+ .yarn /unplugged
138
+ .yarn /build-state.yml
139
+ .yarn /install-state.gz
140
+ .pnp. *
141
+
142
+ # ## Node Patch ###
143
+ # Serverless Webpack directories
144
+ .webpack /
145
+
146
+ # Optional stylelint cache
147
+ .stylelintcache
148
+
149
+ # SvelteKit build / generate output
150
+ .svelte-kit
Original file line number Diff line number Diff line change 1
1
# starter-for-svelte
2
- Appwrite's starter kit for Svelte 👩💻
2
+
3
+ Everything you need to build a Svelte project, powered by [ ` create-svelte ` ] ( https://github.com/sveltejs/kit/tree/master/packages/create-svelte ) .
4
+
5
+ ## Creating a project
6
+
7
+ If you're seeing this, you've probably already done this step. Congrats!
8
+
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
+ ```
16
+
17
+ ## Developing
18
+
19
+ Once you've created a project and installed dependencies with ` npm install ` (or ` pnpm install ` or ` yarn ` ), start a development server:
20
+
21
+ ``` bash
22
+ npm run dev
23
+
24
+ # or start the server and open the app in a new browser tab
25
+ npm run dev -- --open
26
+ ```
27
+
28
+ ## Building
29
+
30
+ To create a production version of your app:
31
+
32
+ ``` bash
33
+ npm run build
34
+ ```
35
+
36
+ You can preview the production build with ` npm run preview ` .
37
+
38
+ > To deploy your app, you may need to install an [ adapter] ( https://kit.svelte.dev/docs/adapters ) for your target environment.
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " ./.svelte-kit/tsconfig.json" ,
3
+ "compilerOptions" : {
4
+ "allowJs" : true ,
5
+ "checkJs" : true ,
6
+ "esModuleInterop" : true ,
7
+ "forceConsistentCasingInFileNames" : true ,
8
+ "resolveJsonModule" : true ,
9
+ "skipLibCheck" : true ,
10
+ "sourceMap" : true ,
11
+ "strict" : true
12
+ }
13
+ // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias and https://kit.svelte.dev/docs/configuration#files
14
+ //
15
+ // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
16
+ // from the referenced tsconfig.json - TypeScript does not merge them in
17
+ }
You can’t perform that action at this time.
0 commit comments