Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/42loco42/svelte-vite-go-nix
Trying out Svelte + Vite + Go
https://github.com/42loco42/svelte-vite-go-nix
Last synced: 1 day ago
JSON representation
Trying out Svelte + Vite + Go
- Host: GitHub
- URL: https://github.com/42loco42/svelte-vite-go-nix
- Owner: 42LoCo42
- Created: 2024-10-28T20:34:02.000Z (18 days ago)
- Default Branch: main
- Last Pushed: 2024-10-28T22:08:45.000Z (17 days ago)
- Last Synced: 2024-10-28T22:29:09.766Z (17 days ago)
- Language: Svelte
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* svelte-vite-go-nix
Trying out:
- [[https://svelte.dev/][Svelte]] as the frontend, with...
- [[https://vite.dev/][Vite]] as the builder & dev server
- [[https://echo.labstack.com/][Echo]] as the backend
- and [[https://nixos.org/][Nix]] to manage the whole thingwoah that's a lot of stuff!
for development:
#+begin_src shell
nix shell # or use nix-direnv
dev # runs vite & air
#+end_srcfor production:
#+begin_src shell
nix build
#+end_srcas it should be!
** Interesting things to look at
- [[file:vite.config.ts]] - =/api= requests are proxied to the backend server
- [[file:config.prod.go][config.prod.go]] - in production builds, the compiled frontend gets embedded here