svelte-kit-template-with-node-adapter Svelte Themes

Svelte Kit Template With Node Adapter

Proof of Concept template source-code generated with @dart-pacotes/.bricks for a SvelteKit application with support for Node.js deployment

svelte-kit-template-with-node-adapter

Proof of Concept template source-code generated with @dart-pacotes/.bricks for a SvelteKit application with support for Node.js deployment

Hooks

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

Development

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

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

Deploy

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

Contact

This template was prepared by:

  • João Freitas, @freitzzz
  • Rute Santos, @rutesantos4

Contact us for freelancing work!

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes