1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-26 10:50:29 +02:00
immich/web
Connery Noble 43e9529ce4
feat(.well-known): add .well-known/immich to reference API endpoint (#1308)
* feat(.well-known): add .well-known/immich to reference API endpoint

* feat(.well-known): make schema optional (defaults to https)

* adjust method comment to be a little less confusing

* fix casting issue with resovled url

* include when checking Well-known, update server hint

* add validation for login form's server url

* consolidate common process into resolveAndSetEndpoint

* fix missed prettier formatting

* revert translation changes

* update environment variable description, hopefully a bit clearer

* rename environment variable to IMMICH_API_URL_EXTERNAL

* comment out optional env variables

* fix(web): browser-side api client to include authorization token

* Revert "fix(web): browser-side api client to include authorization token"

This reverts commit 60e338938f.

* remove multi-domain related changes
2023-01-19 09:45:37 -06:00
..
__mocks__/$env/dynamic fix(web): broken unit tests (#947) 2022-11-09 10:32:12 -05:00
src feat(.well-known): add .well-known/immich to reference API endpoint (#1308) 2023-01-19 09:45:37 -06:00
static feat(web): meta tags for share links (#1290) 2023-01-10 21:36:50 -06:00
.dockerignore Add web interface with admin functionality (#167) 2022-05-21 02:23:55 -05:00
.eslintignore Add ablum feature to web (#352) 2022-07-15 23:18:17 -05:00
.eslintrc.cjs Fix web lint issues 2022-09-08 17:30:49 +02:00
.gitignore Add ablum feature to web (#352) 2022-07-15 23:18:17 -05:00
.npmrc Add web interface with admin functionality (#167) 2022-05-21 02:23:55 -05:00
.prettierignore Format web code with prettier 2022-09-08 12:53:09 +02:00
.prettierrc Add ablum feature to web (#352) 2022-07-15 23:18:17 -05:00
babel.config.cjs Add web test setup (#597) 2022-09-07 05:20:19 -05:00
Dockerfile chore(server) revert Dockerfile (#878) 2022-10-27 17:21:28 -05:00
entrypoint.sh fix(docker-build): start main process with exec (#1210) 2022-12-29 14:49:02 -06:00
how-to-scroll-like-google.md Feature - Implemented virtual scroll on web (#573) 2022-09-04 08:34:39 -05:00
jest.config.mjs chore(web,server): run code coverage reports (#1313) 2023-01-12 16:07:57 -06:00
LICENSE feat(docker) revert ubuntu base image (#863) 2022-10-25 14:18:37 -05:00
package-lock.json chore(web) update SvelteKit to 1.0.0 (#1110) 2022-12-16 20:51:17 -06:00
package.json chore(web,server): run code coverage reports (#1313) 2023-01-12 16:07:57 -06:00
postcss.config.cjs Use cookies for client requests (#377) 2022-07-26 12:28:07 -05:00
README.md Add web interface with admin functionality (#167) 2022-05-21 02:23:55 -05:00
svelte.config.js feat(web): Update to latest version of SvelteKit (#705) 2022-09-16 23:13:22 -05:00
tailwind.config.cjs feat(web) dark mode (#867) 2022-10-26 11:10:48 -05:00
tsconfig.json Add web test setup (#597) 2022-09-07 05:20:19 -05:00
vite.config.js Add ablum feature to web (#352) 2022-07-15 23:18:17 -05:00

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npm init svelte

# create a new project in my-app
npm init svelte my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.