Proof of Concept template source-code generated with @dart-pacotes/.bricks for a SvelteKit application with support for Node.js deployment
This repository is configured with client-side Git hooks that automatically format + lint the codebase before each push. You can install it by running the following command:
./hooks/INSTALL
Once you've created a project and installed dependencies with npm install
, start a development server:
npm run dev
Also, to update the localization files, you will need to run the following command before editing each locale files:
npm run typesafe-i18n
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:
npm run deploy
Alternatively, you can deploy your app within a Docker container. First, build the image:
docker_tag=svelte-kit-template-with-node-adapter:latest
docker build -f ./Dockerfile . -t $docker_tag
Then, spawn a container:
docker run -p 3000:3000 -t $docker_tag
This template was prepared by:
- João Freitas, @freitzzz
- Rute Santos, @rutesantos4
Contact us for freelancing work!